30cd6e4cf96398816871a7e5f4e90c25bf30c36f
We add a common method to round prices that are stored using the price digits. It is useless to use the digits from the field because it can not be changed in any other way than by configuration. issue9146 review299521002
Commission Module
#################
The commission module allows to manage commission for sale's agent.
A commission move is created when posting the invoice, following the agent's
commission plan.
Agent
*****
An agent links a party with a commission plan and method.
- The *Plan* is the commission plan.
- The *Account* is the payable account on which the commission will be
credited.
- The *Commission Method* defines when the commission will be due:
- *On Posting*: when the invoice is posted.
- *On Payment*: when the invoice is paid.
Commission Plan
***************
A plan contains a sets of lines that defines the formula to use to compute the
commission amount. The line is selected by choosing the first that matches the
criteria.
- The *Commission Product* is used to debit the commission using its expense
account.
Line
----
- The *Formula* is a Python expression that will be evaluated with `amount` as
the invoiced amount.
The criteria:
- *Product*.
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
389 MiB
Languages
Python
88.1%
JavaScript
11%
Less
0.5%
HTML
0.2%
NSIS
0.1%