[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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user