Metadata-Version: 2.1
Name: odoo-addon-l10n_py_maquila_mrp
Version: 18.0.1.0.0.6
Requires-Python: >=3.10
Requires-Dist: odoo-addon-l10n_py_maquila_base==18.0.*
Requires-Dist: odoo==18.0.*
Summary: BOM coefficients, VAN calculation, and waste management for Maquila
Home-page: https://github.com/OCA/l10n-paraguay
License: AGPL-3
Author: KMEE, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

======================
Paraguay - Maquila MRP
======================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:63ffc6ea432f5c66d88561b08c92a9f2efe7acd5258a84ec6e4bc7887492f536
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--paraguay-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-paraguay/tree/18.0/l10n_py_maquila_mrp
    :alt: OCA/l10n-paraguay
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-paraguay-18-0/l10n-paraguay-18-0-l10n_py_maquila_mrp
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-paraguay&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Manufacturing (MRP) integration for Paraguay's Maquila regime (Ley
7547/2025):

- **BOM INTN coefficients**: gross quantity (requirement factor), net
  quantity and loss percentage, plus the origin type of each component
  (temporary admission, national, Mercosur, imported). The net-quantity
  fields are derived from GRAP's ``mrp_bom_line_net_qty``.
- **Maquila program** on manufacturing orders (computed from the BOM)
  with BOM, production and waste counters.
- **Waste management** (scrap, byproduct, defective) with destruction /
  nationalization / re-export destinations; destruction drafts a stock
  scrap.
- **VAN wizard**: national added value for a period, computed from the
  program's analytic cost minus foreign-origin inputs; it requires
  completed production to determine the origin split.

Known gap (Phase 2): Ley 7547/2025 Art. 37 defines the national added
value as the sum of (a) goods acquired in the national territory, (b)
services hired in the country, (c) salaries and social security paid in
the country, (d) depreciation of the capital goods owned by the
maquiladora and (e) the remuneration received for the maquila or
sub-maquila services. The VAN wizard does not compute these five
components: it takes the cost booked to the program's analytic account
and subtracts the inputs of imported and Mercosur origin. It is only as
complete as the analytic bookings (depreciation and the remuneration of
the maquila service, items (d) and (e), are not identified) and must be
checked against the Art. 37 components before filing the sworn
statement.

**Table of contents**

.. contents::
   :local:

Usage
=====

1. On a bill of materials, set the maquila program, the INTN certificate
   and, per line, the net quantity, loss percentage and origin type.
2. Manufacturing orders built from that BOM inherit the maquila program.
3. Register waste from production and complete it; a destruction drafts
   a stock scrap for the write-off.
4. Run the **VAN** wizard for a period to compute the national added
   value. It requires at least one completed manufacturing order in the
   period so the origin split of the cost can be determined.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-paraguay/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-paraguay/issues/new?body=module:%20l10n_py_maquila_mrp%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* KMEE

Contributors
------------

- KMEE INFORMÁTICA LTDA

  - Luis Felipe Mileo <mileo@kmee.com.br>
  - André Marcos Ferreira <andre.ferreira@kmee.com.br>

The net-quantity BOM fields are derived from ``mrp_bom_line_net_qty``:

- GRAP (http://www.grap.coop)

  - Quentin DUPONT

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-paraguay <https://github.com/OCA/l10n-paraguay/tree/18.0/l10n_py_maquila_mrp>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
