Files
tryton/modules/commission
Cédric Krier 944afc59ff Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
(grafted from ffef63a3959b55756c395ebfd3ee1224f4dc7611)

--HG--
branch : 6.0
2023-08-06 19:31:44 +02:00
..
2022-12-18 21:27:59 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-16 18:57:40 +01:00
2022-12-17 17:14:49 +01:00
2022-12-17 17:14:49 +01:00
2022-12-16 18:57:40 +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*.