Files
tryton/modules/sale_extra
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
..
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-16 16:21:25 +01:00
2022-12-24 13:45:10 +01:00
2023-01-08 11:18:56 +01:00
2022-12-16 16:21:25 +01:00

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.