[IMP] mrp,purchase_mrp: update demo data

Activated the route in demo data of Table Top, Table Leg and Wood Panel so that
bom overview and MO overview can yield better demo results.

task id: 3357025

closes odoo/odoo#124278

Related: odoo/enterprise#42169
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
This commit is contained in:
Khushi Vakil
2023-06-15 17:36:28 +02:00
parent 845111af36
commit f6ee7d467f
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -119,6 +119,7 @@
<field name="default_code">FURN_8522</field>
<field name="tracking">serial</field>
<field name="image_1920" type="base64" file="mrp/static/img/table_top.png"/>
<field name="route_ids" eval="[Command.link(ref('mrp.route_warehouse0_manufacture'))]"/>
</record>
<record id="product_product_computer_desk_leg" model="product.product">
<field name="name">Table Leg</field>
@@ -211,6 +212,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="default_code">FURN_7023</field>
<field name="image_1920" type="base64" file="mrp/static/img/product_product_wood_panel.png"/>
<field name="route_ids" eval="[Command.link(ref('mrp.route_warehouse0_manufacture'))]"/>
</record>
<record id="product_product_plastic_laminate" model="product.product">
<field name="name">Plastic Laminate</field>
+3
View File
@@ -20,6 +20,9 @@ from purchase order.
'views/stock_orderpoint_views.xml',
'security/ir.model.access.csv',
],
'demo': [
'data/purchase_mrp_demo.xml',
],
'depends': ['mrp', 'purchase_stock'],
'installable': True,
'auto_install': True,
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="mrp.product_product_computer_desk_leg" model="product.product">
<field name="route_ids" eval="[Command.link(ref('purchase_stock.route_warehouse0_buy'))]"></field>
</record>
</data>
</odoo>