mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[13.0][MIG] mrp_multi_level
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="stock_inventory_mrp_example" model="stock.inventory">
|
||||
<field name="name">Simulating MRP</field>
|
||||
<field name="name">Starting On-hand for MRP demo</field>
|
||||
</record>
|
||||
<record id="stock_inventory_line_1" model="stock.inventory.line">
|
||||
<field name="product_id" ref="product_product_pp_1"/>
|
||||
@@ -25,6 +25,10 @@
|
||||
<field name="product_qty">15</field>
|
||||
<field name="location_id" ref="stock.stock_location_stock"/>
|
||||
</record>
|
||||
|
||||
<function model="stock.inventory" name="_action_start">
|
||||
<function eval="[[('id', '=', ref('stock_inventory_mrp_example'))]]" model="stock.inventory" name="search"/>
|
||||
</function>
|
||||
<function model="stock.inventory" name="action_validate">
|
||||
<function eval="[[('id', '=', ref('stock_inventory_mrp_example'))]]" model="stock.inventory" name="search"/>
|
||||
</function>
|
||||
|
||||
@@ -4,7 +4,5 @@
|
||||
<field name="name">Lazer Tech</field>
|
||||
<field name="is_company">1</field>
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
<field name="customer" eval="False"/>
|
||||
<field name="supplier" eval="True"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user