mirror of
https://github.com/NaN-tic/trytond-purchase_supplier_discount.git
synced 2023-12-14 02:02:55 +01:00
19 lines
660 B
ReStructuredText
19 lines
660 B
ReStructuredText
Discount in supplier prices
|
|
=================================
|
|
|
|
This module allows to define a discount in product's supplier price.
|
|
|
|
The "Unit price" field is calculated from the "Discount" and the
|
|
"Gross unit price" as:
|
|
|
|
Unit price = Gross unit price * (1 - Discount)
|
|
|
|
By default the number of decimal places of "Gross unit price" and "Discount" is
|
|
4. The number of decimal places of "Unit Price" is the sum of both, by defaul
|
|
8.
|
|
To change the number of decimal places of "Gross unit price" and / or
|
|
"Discount", for example 3 and 2 respectively, you can define the following
|
|
variables in trytond configuration file:
|
|
|
|
unit_price_digits = 3
|
|
discount_digits = 2
|