TIP: You can type at any time to perform a new search.
Paraguay - Maquila Base
l10n_py_maquila_base · OCA/l10n-paraguay
- Repository
- OCA/l10n-paraguay · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Localization
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-paraguay
- Last tracking update
- 2026-08-03 17:34:13
- Authors
- Odoo Community Association (OCA), KMEE
- Maintainers
- Odoo Community Association (OCA), KMEE
- Committers
- OCA-git-bot, oca-ci, André Marcos Ferreira
- Odoo dependencies
- Python dependencies
- python-stdnum
- System dependencies
- None
- Required by
- None
- Description
Base module for Paraguay's Maquila regime (Ley 7547/2025, regulated by Decreto 5714/2026), which replaced Ley 1064/97. It provides the core data model shared by the rest of the maquila stack: - **Maquila program**: biministerial resolution, legal regime (Ley 7547/2025 or legacy Ley 1064/97), modalities (pura, servicios, capacidad ociosa, sub-maquila, shelter/albergue, coexistencia), foreign matrix, CNIME contract (OCA Agreement) and benefit duration (20 years, Art. 13). - **Program products** with their INTN certificates and validity. - An expiry cron that raises warning activities for programs, contracts and INTN certificates nearing their deadline.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_maquila_program_form |
l10n_py.maquila.program.form | l10n_py.maquila.program | form | New |
view_maquila_program_search |
l10n_py.maquila.program.search | l10n_py.maquila.program | search | New |
view_maquila_program_tree |
l10n_py.maquila.program.tree | l10n_py.maquila.program | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (18)
-
activeBooleandefault=True -
agreement_idMany2one → agreementhelp='OCA Agreement linked to CNIME contract'string='CNIME Contract'tracking=True args: 'agreement' -
analytic_account_idMany2one → account.analytic.accounthelp='Analytic account for accounting segregation of this program'string='Analytic Account'tracking=True args: 'account.analytic.account' -
benefit_duration_yearsIntegerdefault=20help='Benefit term in years (Ley 7547/2025 Art. 13: 20 years, renewable).' -
benefit_expiryDatecompute='_compute_benefit_expiry'help='End of the benefit term, computed from the resolution date.'store=True -
cnime_resolution_dateDatestring='CNIME Resolution Date'tracking=True -
cnime_resolution_expiryDatestring='CNIME Resolution Expiry'tracking=True -
codeCharhelp='Resolucion biministerial (e.g. RES-BIM-2026-001)'required=Truestring='Biministerial Resolution'tracking=True -
company_idMany2one → res.companydefault=<expr>required=Truestring='Maquiladora'tracking=True args: 'res.company' -
internal_sale_pctFloathelp='Percentage allowed for domestic sale (capacidad ociosa type)'string='Internal Market %' -
legal_regimeSelectiondefault='ley_7547'help='Legacy 1064/97 programs keep prior conditions for 12 months, then migrate to Ley 7547/2025 (Art. 42).'required=Truetracking=True args: [('ley_7547', 'Ley 7547/2025'), ('ley_1064', 'Ley 1064/97 (legacy)')] -
maquila_typeSelectionhelp="Legal modalities under Ley 7547/2025 (Arts. 3, 25-27). 'abrigo' is kept for the textile/garment rubro."required=Truetracking=True args: [('pura', 'Maquila Pura'), ('servicio', 'Maquila de Servicios'), ('ociosidad', 'Capacidad Ociosa'), ('sub_maquila', 'Sub-Maquila (Sub-contratación)'), ('shelter', 'Shelter / Albergue'), ('coexistencia', 'Coexistencia (régimen ordinario)'), ('abrigo', 'Maquila de Abrigo')] -
matriz_partner_idMany2one → res.partnerhelp='Foreign parent company (owner of temporary goods)'required=Truestring='Foreign Matrix'tracking=True args: 'res.partner' -
nameCharrequired=Truetracking=True -
product_line_idsOne2many → l10n_py.maquila.program.productstring='Product Lines' args: 'l10n_py.maquila.program.product', 'program_id' -
resolution_attachmentBinaryattachment=Truestring='Resolution PDF' -
resolution_attachment_nameChar -
stateSelectiondefault='draft'required=Truetracking=True args: [('draft', 'Draft'), ('active', 'Active'), ('suspended', 'Suspended'), ('closed', 'Closed')]
-
action_activate(self) -
action_close(self) -
action_draft(self) -
action_suspend(self)
New fields (5)
-
intn_certificateCharstring='INTN Certificate' -
intn_certificate_dateDatestring='INTN Certificate Date' -
intn_expiry_dateDatehelp='INTN certificate validity (typically 2 years)'string='INTN Expiry Date' -
product_idMany2one → product.productrequired=True args: 'product.product' -
program_idMany2one → l10n_py.maquila.programondelete='cascade'required=True args: 'l10n_py.maquila.program'
No public methods.
New fields (1)
-
l10n_py_is_maquiladoraBooleanhelp='Check if this company operates under Maquila regime (Ley 7547/2025)'string='Is Maquiladora'
No public methods.