Cédric Krier 30cd6e4cf9 Add round_price
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
2020-04-23 21:44:00 +02:00
2014-12-19 12:14:20 +01:00
2018-08-19 20:02:58 +02:00
2019-11-02 18:07:41 +01:00
2020-02-24 18:38:48 +01:00
2020-02-24 18:38:48 +01:00
2020-03-01 12:33:52 +01:00
2020-03-19 19:03:38 +01:00
2020-03-01 12:33:52 +01:00
2020-03-01 12:33:52 +01:00
2018-05-30 14:13:20 +02:00
2020-02-24 18:38:48 +01:00
2020-04-23 21:44:00 +02:00
2020-02-24 18:38:48 +01:00
2019-05-06 15:01:37 +02:00
2020-04-23 21:44:00 +02:00
2014-12-19 12:14:20 +01:00
2020-03-01 12:33:52 +01:00
2020-02-24 18:38:48 +01:00
2020-04-13 17:35:36 +02:00
2014-12-19 12:14:20 +01:00
2020-04-13 17:35:36 +02:00
2014-12-19 12:14:20 +01:00
2020-03-19 19:03:38 +01:00
2020-03-19 19:03:38 +01:00
2020-02-24 18:38:48 +01:00

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*.
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
389 MiB
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%