summaryrefslogtreecommitdiff
path: root/addons/mrp/data/mrp_data.xml
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2018-06-27 10:19:18 +0200
committerArnold Moyaux <arm@odoo.com>2018-08-13 15:38:34 +0200
commit1e160dffd375ef5bb5ceb7ec34ee172944719b03 (patch)
treedd2b13ed7ecec5b1f786d72030719f771b5645bf /addons/mrp/data/mrp_data.xml
parent177981b09f7a765021bfb87401b39875edf91584 (diff)
[IMP] stock, mrp: picking before and after manufacturing
Currently MRP do not handle multi locations for components. In order to be able to use both feature at the same time, we could: - Improve mrp in order to handle multiple stock.move.line for a componenet stock.move - Add a rule that allow to bring all the good from multiple location to a single location. (was already possible but it requires some configuration) This commit introduce a checkbox on the warehouse in order to automatically configure all the routes/rules/locations/picking_types,... necessary to bring all the components to a single location before running the manufacturing order. Technically it also refactor some stock_warehouse.py methods in order to easily override the picking_type, rules and routes creation. Thank to Hetashree Chauhan <hch@odoo.com> for his help. task_id: 27785
Diffstat (limited to 'addons/mrp/data/mrp_data.xml')
-rw-r--r--addons/mrp/data/mrp_data.xml8
1 files changed, 0 insertions, 8 deletions
diff --git a/addons/mrp/data/mrp_data.xml b/addons/mrp/data/mrp_data.xml
index e8341ce3f52..0792225d707 100644
--- a/addons/mrp/data/mrp_data.xml
+++ b/addons/mrp/data/mrp_data.xml
@@ -83,14 +83,6 @@
<field name="sequence">0</field>
</record>
- <function model="ir.model.data" name="_update_xmlids">
- <value model="base" eval="[{
- 'xml_id': 'mrp.picking_type_manufacturing',
- 'record': obj().env.ref('stock.warehouse0').manu_type_id,
- 'noupdate': True,
- }]"/>
- </function>
-
</data>
</odoo>