Metadata-Version: 2.4
Name: trytond_sale_extra
Version: 8.0.0
Summary: Sale extras for Tryton
Project-URL: homepage, https://www.tryton.org/
Project-URL: documentation, https://docs.tryton.org/modules-sale-extra/
Project-URL: changelog, https://docs.tryton.org/modules-sale-extra/releases.html
Project-URL: forum, https://www.tryton.org/forum
Project-URL: issues, https://bugs.tryton.org/tryton
Project-URL: repository, https://code.tryton.org/tryton
Project-URL: funding, https://www.tryton.org/donate
Author: B2CK SRL
Author-email: Cédric Krier <cedric.krier@b2ck.com>
Maintainer-email: Tryton <foundation@tryton.org>
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: sale,tryton
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Classifier: Topic :: Office/Business :: Financial :: Point-Of-Sale
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: python-sql
Requires-Dist: trytond-company<8.1,>=8.0
Requires-Dist: trytond-product-price-list<8.1,>=8.0
Requires-Dist: trytond-product<8.1,>=8.0
Requires-Dist: trytond-sale-price-list<8.1,>=8.0
Requires-Dist: trytond-sale<8.1,>=8.0
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Requires-Dist: proteus<8.1,>=8.0; extra == 'test'
Description-Content-Type: text/x-rst

Sale Extra
##########

The sale_extra module allows to add extra line on sale based on criteria.

The extra products are added when the sale goes into quotation but the added
lines can be modified when going back to draft.

The criteria are defined by the *Sale Extras* of the *Price List*.

Sale Extra
**********

Each matching *Sale Extra* is evaluated to add an extra line.
The criteria are the fields:

- *Price List*
- *Start/End Date*
- *Sale Amount*: If untaxed sale amount is greater or equal
  (in the price list company currency).

Sale Extra Line
***************

Once a *Sale Extra* is selected, its first line that match the line's criteria
is used to setup the extra line.
The criteria are the fields:

- *Sale Amount*: If the untaxed sale amount is greater or equal
  (in the price list company currency).

The sale line is setup using the fields:

- *Product*: The product to use on the sale line.
- *Quantity*: The quantity to set on the sale line (in the *Unit*).
- *Unit*: The unit of measure to use.
- *Free*: Set unit price of the sale line to zero, otherwise to the sale price.
