Initial commit: OCA Mrp packages (117 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:05 +02:00
commit 277e84fd7a
4403 changed files with 395154 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#. Go to *Inventory > Configuration > Settings*.
#. Check 'Multi-Step Routes' checkbox in *Warehouse* section.

View file

@ -0,0 +1,6 @@
* `Tecnativa <https://www.tecnativa.com>`_:
* Víctor Martínez
* Pedro M. Baeza
* Christopher Ormaza <chris.ormaza@forgeflow.com>

View file

@ -0,0 +1,11 @@
If a product has a bill of materials (BoM) of subcontracting type, and the
vendor is included in the list of subcontractors of such BoM, when doing a
purchase order for such vendor and product, it will always generate a
subcontracting order.
This module allows to inhibit such behavior, acting as a regular purchase, as
this may not be convenient in some cases, as on manufacturing world, it's
frequent that your vendor sells you directly the same product without you
providing any raw material depending on lead times, material availability, etc.
A check is provided at purchase order line level for easily disable the
subcontracting part, as well as the same check at stock rule for propagating
the preference from replenishment option.

View file

@ -0,0 +1,23 @@
#. Go to *Inventory > Configuration > Routes* and edit 'Buy' rule and check 'Subcontracting inhibit'.
#. Go to *Inventory > Products > Product* and create some product called 'Subcontract product'.
#. Go to *Inventory > Products > Product* and create other product called 'Component'.
#. Go to *Manufacturing > Products > Bill of materials* and create a new one with type = "Subcontracting" related to 'Subcontract product' and set 'Component' product.
#. Go to *Inventory > Products > Product* and edit 'Subcontract product' and set Purchase tab as follows:
#. [Vendor line 1] Vendor: Azure Interior, Subcontracting inhibited: Yes, Price: 5.
#. [Vendor line 2] Vendor: Azure Interior, Subcontracting inhibited: No, Price: 10.
Purchase order flow:
#. Go to *Purchase > Orders > Requests for Quotation* and create new order as follows:
#. Vendor: Azure Interior, Product: Subcontract product
#. The unit price of the product will be 10.
#. Click on the 'Confirm Order' button.
#. A production order will have been created.
Replenishment flow:
#. Go to *Inventory > Products > Product* and go to 'Subcontract product'.
#. Click on the 'Replenish' button, select 'Buy' in Preferred Routes field and click on the 'Confirm' button.
#. A new purchase order will have been created, go to *Purchase > Orders > Requests for Quotation* and enter it.
#. The unit price of the product will be 5.
#. Click on the 'Confirm Order' button.
#. A production order will not have been created.