Prepare Dominican accounting localization for core review

This commit is contained in:
José Arturo García
2026-08-10 00:08:55 -04:00
parent 85dc8ec2b3
commit a740366693
40 changed files with 9016 additions and 10473 deletions
+24 -16
View File
@@ -4,24 +4,32 @@ Reference
Chart Setup
-----------
When the Dominican chart ``account_do.do_account_root`` is selected, the chart
creation wizard proposes:
The module provides two complete chart roots:
* ``account_do.do_account_110201`` as the default receivable account;
* ``account_do.do_account_210101`` as the default payable account.
* ``account_do.do_account_root_en`` for English accounting data;
* ``account_do.do_account_root_es_419`` for Dominican Spanish accounting data,
using Tryton's ``es_419`` language until ``es_DO`` is available.
Fiscal Metadata
---------------
When the English chart is selected, the chart creation wizard proposes:
The module extends ``account.tax.template`` and ``account.tax`` with:
* ``account_do.do_account_110201_en`` as the default receivable account;
* ``account_do.do_account_210101_en`` as the default payable account.
* ``tax_kind``;
* ``tax_fiscal_type``;
* ``tax_application``;
* ``dgii_legal_reference``;
* ``dgii_legal_article``;
* ``dgii_form_hint``;
* ``dgii_fiscal_status``.
For the Spanish chart, the corresponding defaults are
``account_do.do_account_110201_es_419`` and
``account_do.do_account_210101_es_419``.
These fields classify Dominican taxes without duplicating DGII report box
mapping. Reporting modules should use them together with account and tax codes.
The selected language is permanent accounting data. Changing a user's
interface language does not rename an existing chart.
Taxes
-----
The module defines Dominican tax groups, tax templates, tax codes, and tax
rules using the standard models from :mod:`account`. Each tax template keeps
its legal basis in ``legal_notice`` and uses ``start_date`` and ``end_date``
when a rate has a limited period of validity.
DGII form classifications and form-box mappings are intentionally outside the
accounting localization. Reporting modules can derive fiscal totals from the
stable tax and tax-code identifiers provided by this module.