Files
tryton/modules/account_dunning
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 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-16 21:32:53 +01:00
2022-12-24 13:45:10 +01:00
2023-01-08 11:18:56 +01:00
2022-12-16 21:32:53 +01:00

Account Dunning Module
######################

The account_dunning module adds dunning for receivable move lines.

Procedure
*********

A *Procedure* defines the dunning process with an ordered list of levels.
A dunning will raise from one level to an other by selecting the next level
that pass the test.
The Procedure is set per *Party* and a default one can be configured in the
accounting configuration.

Level
*****

A *Level* defines the parameters to reach it:

- Days: The number of overdue days.

Dunning
*******

A *Dunning* defines the dunning level of an overdue move line. Once processed,
it triggers the communication defined on the procedure level. It is mainly
defined by:

- Line: The overdue move line
- Procedure: The *Procedure* followed.
- Level: The current *Level*.
- Blocked: If true, it blocks the dunning to raise.

The dunning can be in one of these states:

* Draft

  The current level is not yet processed.

* Waiting

  The current level has been processed.

* Final

  All levels have been processed.