How aquih/fel_gt works
Project type and purpose
• This is an Odoo “addon” module named fel_gt, an extension to the Odoo ERP system that implements electronic invoicing (DTE) for Guatemala.
• Purpose: automatically generate a DTE (Documento Tributario Electrónico) XML from an Odoo invoice and integrate with an external FEL certificador service.
File structure
• Top-level files:
• __manifest__.py: Odoo manifest declaring module metadata and dependencies
• __init__.py: Python package initialization
• README.md, LICENSE
• models/ directory: Python classes extending Odoo models:
• account, res_partner, res_company
• views/ directory: XML view definitions for invoices, companies, partners, reports.
• No standalone frontend; everything plugs into Odoo’s web client.
README for additional insights
• Supports Odoo v13–16
• Defines extra fields on the Company form to hold FEL phrases and adenda code snippets (executed as Python)
• Requires an external “fel” certificador module to handle actual signing and submission.
• BSD-3 license; open for pull requests.
Detail
• Field-level triggers (e.g., on invoice validation event)
• Execution of Python code for FEL phrases/adenda in the Company extra tab
• Call out the dependency on the external “fel” certificador module