-
- Downloads
[IMP] l10n_mx: Completely refactored Mexican CoA Template. Courtesy of Vauxoo.
* Added accounts provided following the structure provided by the SAT this accounts are only the minimal necessary ones, with the objective to set the first easiest engagement to new users and tags will represent the actual information from the document linked. * The name of the tag is the concatenation of tag.code + tag.name, because the account.tag model have not the code field. Note: we will need more accounts but some of them for special operations which are not basic at all, then it is better just propose the operational accounts once we understand a proper closing process. * Set the proper user-types on accounts in order to be able to use it with the official reports this CoA for operational purpose. * Added nature field and data in tags to allow set this value in electronic account report, and set this value with data pre loaded, we did not use user.type for this due to the fact that the same user type can have different nature (if it grows for credit or debit), I do not know if this field brakes the stable rule we can discuse about that. * Assign the account tags with in the Mexican CoA template installation, and with an onchange(account.code) when manually modifying/creating accounts. Rationale: If the code of the accounts follows the pattern 111.00.00 or 111-00-00 then it will set the tag 111.00 if the tag exists, if not then this will be ignored. * Generate an account tag by each second level account in SAT catalog, and assign to the corresponding account.
Showing
- addons/l10n_mx/__init__.py 2 additions, 0 deletionsaddons/l10n_mx/__init__.py
- addons/l10n_mx/__manifest__.py 6 additions, 1 deletionaddons/l10n_mx/__manifest__.py
- addons/l10n_mx/data/account_chart_template_data.yml 2 additions, 2 deletionsaddons/l10n_mx/data/account_chart_template_data.yml
- addons/l10n_mx/data/account_tag_data.xml 5585 additions, 0 deletionsaddons/l10n_mx/data/account_tag_data.xml
- addons/l10n_mx/data/account_tax_data.xml 80 additions, 112 deletionsaddons/l10n_mx/data/account_tax_data.xml
- addons/l10n_mx/data/l10n_mx_chart_data.xml 256 additions, 2141 deletionsaddons/l10n_mx/data/l10n_mx_chart_data.xml
- addons/l10n_mx/models/__init__.py 6 additions, 0 deletionsaddons/l10n_mx/models/__init__.py
- addons/l10n_mx/models/account.py 59 additions, 0 deletionsaddons/l10n_mx/models/account.py
- addons/l10n_mx/models/chart_template.py 81 additions, 0 deletionsaddons/l10n_mx/models/chart_template.py
addons/l10n_mx/data/account_tag_data.xml
0 → 100644
This diff is collapsed.
This diff is collapsed.
addons/l10n_mx/models/__init__.py
0 → 100644
addons/l10n_mx/models/account.py
0 → 100644
addons/l10n_mx/models/chart_template.py
0 → 100644
Please register or sign in to comment