[FIX] mrp: create finished moves in demo data

The Table (MTO) production hasn't its finished moves created in the demo
data. This lead to the impossiblity to mark as done the production
order.

Task : 2278147

X-original-commit: d6e20db6f6b372707a67ec63d71a1c2737511765
This commit is contained in:
William Henrotin
2020-07-03 11:22:15 +00:00
parent a8a98a614c
commit 36c8b93e08
+3
View File
@@ -282,6 +282,9 @@
<function model="stock.move" name="create">
<value model="stock.move" eval="obj().env.ref('mrp.mrp_production_3')._get_moves_raw_values()"/>
</function>
<function model="stock.move" name="create">
<value model="stock.move" eval="obj().env.ref('mrp.mrp_production_3')._get_moves_finished_values()"/>
</function>
<record id="mrp_bom_table_top" model="mrp.bom">
<field name="product_tmpl_id" ref="product_product_computer_desk_head_product_template"/>