Paraguay - Maquila Reports
l10n_py_maquila_report · OCA/l10n-paraguay
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
Reporting for Paraguay's Maquila regime (Ley 7547/2025):
- CNIME periodic report: a snapshot of imports, exports, production, waste, period-end stock balance, VAN and employment for a program and period. The snapshot is compiled by Generate and frozen once submitted.
- Maquila dashboard (kanban) of active programs.
- SIFEN legend: adds the maquila legend (Ley 7547/2025) to the electronic document data.
- SIMEX payload generation (offline).
The VAN reported here uses the same computation as the MRP VAN wizard, so both report the same figure for a given program and period.
The SIMEX payload is a draft in an internal layout: it is not validated against the official SIMEX format and must not be filed as is. Amounts of the report are in the company currency (the VAN comes from analytic amounts); import and export lines carry their own currency.
Dependencies
- Odoo dependencies
- Python dependencies
- python-stdnum, cryptography, pykude, qrcode, requests, num2words
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_maquila_cnime_report_form |
l10n_py.maquila.cnime.report.form | l10n_py.maquila.cnime.report | form | New |
view_maquila_cnime_report_search |
l10n_py.maquila.cnime.report.search | l10n_py.maquila.cnime.report | search | New |
view_maquila_cnime_report_tree |
l10n_py.maquila.cnime.report.tree | l10n_py.maquila.cnime.report | list | New |
view_maquila_dashboard_kanban |
l10n_py.maquila.program.dashboard.kanban | l10n_py.maquila.program | kanban | New |
view_maquila_program_form_inherit_report |
l10n_py.maquila.program.form.inherit.report | l10n_py.maquila.program | form | Inherits l10n_py_maquila_base.view_maquila_program_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (0)No public methods.
-
company_idMany2onerelated='program_id.company_id'store=True -
currency_idMany2onehelp='Company currency: the VAN is built from analytic amounts, which are always in the company currency.'related='company_id.currency_id'store=Truestring='Currency' -
employment_countInteger -
export_dataTextreadonly=True -
import_dataTextreadonly=True -
nameCharcompute='_compute_name'store=True -
period_endDaterequired=Truetracking=True -
period_startDaterequired=Truetracking=True -
production_dataTextreadonly=True -
program_idMany2one → l10n_py.maquila.programrequired=Truetracking=True args: 'l10n_py.maquila.program' -
stateSelectiondefault='draft'required=Truetracking=True args: [('draft', 'Draft'), ('generated', 'Generated'), ('validated', 'Validated'), ('submitted', 'Submitted')] -
stock_balanceTextreadonly=True -
submission_dateDatetimetracking=True -
submission_protocolChartracking=True -
van_totalMonetaryreadonly=Truestring='VAN Total' -
waste_dataTextreadonly=True
-
action_draft(self) -
action_generate(self)Compile the snapshot and move to the generated state. -
action_generate_simex_payload(self)Generate a draft payload (stub for a future SIMEX integration). The layout is internal: it is not validated against the official SIMEX format, so it must not be filed as is. -
action_submit(self) -
action_validate(self)
-
cnime_report_countIntegercompute='_compute_cnime_report_count' -
cnime_report_idsOne2many → l10n_py.maquila.cnime.reportstring='CNIME Reports' args: 'l10n_py.maquila.cnime.report', 'program_id'
-
action_view_cnime_reports(self)
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 7 days ago
- Last activity
- 7 days ago
- Repository
- OCA/l10n-paraguay
- Pull request
- [20.0][MIG] l10n_py_maquila_report: Migration to 20.0 (#82)