Metadata-Version: 2.1
Name: trytond-sale-extra
Version: 6.2.0
Summary: Tryton module for sale extra
Home-page: http://www.tryton.org/
Download-URL: http://downloads.tryton.org/6.2/
Author: Tryton
Author-email: bugs@tryton.org
License: GPL-3
Project-URL: Bug Tracker, https://bugs.tryton.org/
Project-URL: Documentation, https://docs.tryton.org/
Project-URL: Forum, https://www.tryton.org/forum
Project-URL: Source Code, https://hg.tryton.org/modules/sale_extra
Keywords: tryton sale extra premium cost
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Legal Industry
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: Bulgarian
Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
Classifier: Natural Language :: Finnish
Classifier: Natural Language :: French
Classifier: Natural Language :: German
Classifier: Natural Language :: Hungarian
Classifier: Natural Language :: Indonesian
Classifier: Natural Language :: Italian
Classifier: Natural Language :: Persian
Classifier: Natural Language :: Polish
Classifier: Natural Language :: Portuguese (Brazilian)
Classifier: Natural Language :: Romanian
Classifier: Natural Language :: Russian
Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Natural Language :: Turkish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.6
License-File: LICENSE

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.
