[IMP] mrp: plan work order in demo data

Confirms and plans the manufacturing order created for table (MTO) in
demo data to have already a work order.

task-2199747

closes odoo/odoo#46464

Related: odoo/enterprise#8922
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
svs-odoo
2020-03-26 11:44:56 +00:00
parent 8710ce9179
commit 4a93f93e40
+8
View File
@@ -677,6 +677,14 @@
<field name="date_start" eval="(datetime.now() - timedelta(hours=1)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
<function model="mrp.production" name="action_confirm">
<value eval="[ref('mrp.mrp_production_3')]"/>
</function>
<function model="mrp.production" name="button_plan">
<value eval="[ref('mrp.mrp_production_3')]"/>
</function>
<function model="mrp.production" name="action_confirm">
<value eval="[ref('mrp.mrp_production_laptop_cust')]"/>
</function>