Strengthen account_do tests and publishing checks
Add static coverage for module configuration, XML inventory, tax views, translations, migration metadata, and the Gitea publishing workflow. Make Gitea Actions run install, compileall, unittest, build, and twine check before publishing packages from series branches. Fix packaging documentation and RST rendering issues so package validation passes before upload.
This commit is contained in:
+31
-13
@@ -23,7 +23,7 @@ Pruebas
|
||||
Las pruebas validan la instalación del módulo, la creación del plan para una compañía, la integridad de referencias XML, la clasificación contable principal, los códigos fiscales y las categorías fiscales dominicanas.
|
||||
|
||||
Cumplimiento base NIIF
|
||||
---------------------
|
||||
----------------------
|
||||
|
||||
``account_do`` cubre el 100% de la base estructural que corresponde a una localización contable: catálogo NIIF/RD, tipos de presentación, cuentas fiscales dominicanas, impuestos, reglas, metadata legal y pruebas de instalación. La medición NIIF, estimaciones, cierres, estados financieros, notas y revelaciones dependen de políticas contables y módulos operativos complementarios.
|
||||
|
||||
@@ -49,15 +49,33 @@ Matriz de auditoría
|
||||
|
||||
La cobertura de auditoría fiscal queda formalizada en pruebas para evitar cambios silenciosos en cuentas, clasificación o vigencias.
|
||||
|
||||
=============================== =============================================== ==============================================
|
||||
Área Cobertura Prueba
|
||||
=============================== =============================================== ==============================================
|
||||
Impuesto contra cuenta 55 plantillas de ``tax_do.xml`` contra cuenta ``account_do.tests.test_module.TAX_TEMPLATE_AUDIT``
|
||||
Clasificación fiscal ``tax_kind``, ``tax_fiscal_type`` y aplicación ``test_tax_templates_are_classified``
|
||||
Metadata legal y vigencia Referencia, artículo, formulario, estado y fecha ``test_tax_templates_are_classified``
|
||||
Signos de tax codes Plantillas y códigos reales creados por compañía ``test_tax_code_templates_use_expected_signs`` y chart real
|
||||
Reglas con sustitución Impuesto cheques 0.15% hasta 2026-07-02 y 0.20% desde 2026-07-03 ``test_tax_rule_templates_include_date_sensitive_bank_tax``
|
||||
Documentación contra XML La matriz apunta a XML real y falla ante ids/campos faltantes ``test_xml_references_are_resolved_inside_module``
|
||||
Plan NIIF contra XML Códigos NIIF críticos, tipos y políticas ``test_ifrs_chart_is_complete_and_typed`` y ``test_ifrs_policy_matrix_is_represented_in_chart``
|
||||
Facturas reales Factura venta/compra posteada con ITBIS 18% ``account_invoice_do.tests.test_module``
|
||||
=============================== =============================================== ==============================================
|
||||
.. list-table::
|
||||
:header-rows: 1
|
||||
|
||||
* - Área
|
||||
- Cobertura
|
||||
- Prueba
|
||||
* - Impuesto contra cuenta
|
||||
- 55 plantillas de ``tax_do.xml`` contra cuenta.
|
||||
- ``account_do.tests.test_module.TAX_TEMPLATE_AUDIT``
|
||||
* - Clasificación fiscal
|
||||
- ``tax_kind``, ``tax_fiscal_type`` y aplicación.
|
||||
- ``test_tax_templates_are_classified``
|
||||
* - Metadata legal y vigencia
|
||||
- Referencia, artículo, formulario, estado y fecha.
|
||||
- ``test_tax_templates_are_classified``
|
||||
* - Signos de tax codes
|
||||
- Plantillas y códigos reales creados por compañía.
|
||||
- ``test_tax_code_templates_use_expected_signs`` y chart real.
|
||||
* - Reglas con sustitución
|
||||
- Impuesto cheques 0.15% hasta 2026-07-02 y 0.20% desde 2026-07-03.
|
||||
- ``test_tax_rule_templates_include_date_sensitive_bank_tax``
|
||||
* - Documentación contra XML
|
||||
- La matriz apunta a XML real y falla ante ids/campos faltantes.
|
||||
- ``test_xml_references_are_resolved_inside_module``
|
||||
* - Plan NIIF contra XML
|
||||
- Códigos NIIF críticos, tipos y políticas.
|
||||
- ``test_ifrs_chart_is_complete_and_typed`` y ``test_ifrs_policy_matrix_is_represented_in_chart``
|
||||
* - Facturas reales
|
||||
- Factura venta/compra posteada con ITBIS 18%.
|
||||
- ``account_invoice_do.tests.test_module``
|
||||
|
||||
Reference in New Issue
Block a user