OdooWiki OCA HUB

Paraguay - Maquila Base

l10n_py_maquila_base folder_open OCA/l10n-paraguay open_in_new
Localization License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Register and manage Paraguay Maquila programs (Ley 7547/2025) in Odoo: track biministerial resolutions, CNIME contracts, foreign matrix, product INTN certificates and benefit expiry, with automatic warning activities before deadlines.

This module adds a new "Maquila" menu (visible to Maquila User and Maquila Manager groups) with a Programs list and a Configuration section. From the Programs screen you create a Maquila Program and record its name, biministerial resolution code, legal regime (Ley 7547/2025 or legacy Ley 1064/97), modality (pura, servicios, capacidad ociosa, sub-maquila, shelter, coexistencia, abrigo), the foreign matrix partner, the maquiladora company, the CNIME contract (linked to an OCA agreement), CNIME resolution dates, the allowed internal market percentage, an analytic account and the resolution PDF.

  • The benefit expiry date is computed automatically from the CNIME resolution date plus the benefit duration in years (default 20).
  • The internal market percentage is checked to stay between 0 and 100.
  • The resolution code must be unique per company.
  • Buttons move the program through Draft, Active, Suspended and Closed states.
  • A Products tab lists products with their INTN certificate number, issue date and expiry date.
  • A daily scheduled job checks active programs and raises warning activities when the CNIME resolution is within 90 days, the linked contract within 120 days, or an INTN certificate within 60 days; it avoids creating duplicate warnings.
  • On the company form a new "Is Maquiladora" checkbox marks companies operating under the regime.
  • Records are filtered by company, and users can only read while managers can create, edit and delete.

Depends on

l10n_py_baseagreementmailproductanalytic

Menus it adds

MaquilaProgramsConfiguration
Models and fields (3)
  • res.company · extends an existing modell10n_py_is_maquiladora (Is Maquiladora)
  • l10n_py.maquila.program · new modelcode (Biministerial Resolution), name, state, active, company_id (Maquiladora), agreement_id (CNIME Contract), legal_regime, maquila_type, benefit_expiry, product_line_ids (Product Lines), internal_sale_pct (Internal Market %), matriz_partner_id (Foreign Matrix), analytic_account_id (Analytic Account), cnime_resolution_date (CNIME Resolution Date), resolution_attachment (Resolution PDF), benefit_duration_years, cnime_resolution_expiry (CNIME Resolution Expiry), resolution_attachment_name
  • l10n_py.maquila.program.product · new modelproduct_id, program_id, intn_certificate (INTN Certificate), intn_expiry_date (INTN Expiry Date), intn_certificate_date (INTN Certificate Date)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-paraguay.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Maquila > Programs and create a program.
  • Set the biministerial resolution code, the modality and the foreign matrix.
  • Optionally link the CNIME contract (Agreement) and set the resolution and benefit dates; the benefit expiry is computed from the resolution date and the benefit duration (20 years by default).
  • Register the program products with their INTN certificates.
  • Activate the program. The expiry cron will notify managers when a program, contract or INTN certificate is about to expire.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.