Import DGII fiscal authorizations safely
Publicar paquete PyPI / publish (push) Failing after 15s

This commit is contained in:
José Arturo García
2026-08-16 14:09:42 -04:00
parent 60bbed6de0
commit 3d038bd9fe
15 changed files with 830 additions and 10 deletions
+39
View File
@@ -159,5 +159,44 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.message" id="msg_ncf_authorization_delete_not_draft">
<field name="text">Only draft fiscal authorizations can be deleted.</field>
</record>
<record model="ir.message" id="msg_ncf_line_missing_authorization">
<field name="text">Every fiscal sequence line requires its DGII authorization number.</field>
</record>
<record model="ir.message" id="msg_dgii_import_read_error">
<field name="text">The DGII file could not be read: %(error)s.</field>
</record>
<record model="ir.message" id="msg_dgii_import_invalid_file">
<field name="text">The file does not contain the required DGII authorization columns.</field>
</record>
<record model="ir.message" id="msg_dgii_import_not_approved">
<field name="text">DGII authorization "%(authorization)s" is not approved and cannot be imported.</field>
</record>
<record model="ir.message" id="msg_dgii_import_unknown_type">
<field name="text">DGII NCF type "%(type)s" is not supported.</field>
</record>
<record model="ir.message" id="msg_dgii_import_invalid_range">
<field name="text">DGII authorization "%(authorization)s" has an invalid fiscal range or prefix.</field>
</record>
<record model="ir.message" id="msg_dgii_import_quantity_mismatch">
<field name="text">The approved quantity for DGII authorization "%(authorization)s" does not match its range.</field>
</record>
<record model="ir.message" id="msg_dgii_import_company_mismatch">
<field name="text">The DGII file belongs to "%(company)s", which does not match the selected company.</field>
</record>
<record model="ir.message" id="msg_dgii_import_conflict">
<field name="text">DGII authorization "%(authorization)s" already exists with different fiscal data.</field>
</record>
<record model="ir.message" id="msg_dgii_import_closed_request">
<field name="text">DGII request "%(request)s" is no longer in draft and cannot receive another imported authorization.</field>
</record>
<record model="ir.message" id="msg_ncf_authorization_number_duplicate">
<field name="text">DGII authorization number "%(authorization)s" is already registered for this company.</field>
</record>
<record model="ir.message" id="msg_dgii_import_invalid_size">
<field name="text">The DGII import file is empty or exceeds the 5 MB safety limit.</field>
</record>
<record model="ir.message" id="msg_dgii_import_missing_dates">
<field name="text">DGII authorization "%(authorization)s" does not contain the required request and authorization dates.</field>
</record>
</data>
</tryton>