OCA / account-financial-tools

Odoo Accountant Financial Tools and Utils
GNU Affero General Public License v3.0
303 stars 749 forks source link

[16.0] mig account_subsequence_fiscal_year #1807

Open legalsylvain opened 7 months ago

legalsylvain commented 7 months ago

supersed : https://github.com/OCA/account-financial-tools/pull/1630

Trivial port of account_subsequence_fiscal_year that allow to generate accounting numerotation based on fiscal year (if fiscal year are not "classic", ie: 31 december) :

Description

This module extends the functionality of Accounting Odoo module, to generate custom sub sequences for accounting entries, if fiscal years are not "classic". (ie: last day = 31 / last month = 12)

without this module, in such cases (for example, for fiscal year from 01 April 2020 to 31 May 2021) accounting moves of the same fiscal year will not have the same numbering: Some entries will have BILL/2020/ prefix and other will have BILL/2021/, that is not allowed in many countries.

That modules fixes this problem.

Configure

To configure this module, you need to:

res_config_setting

Depending on what you want, 3 options are available.

Given the following example: