diff options
| author | svs-odoo <svs@odoo.com> | 2019-08-22 09:19:29 +0000 |
|---|---|---|
| committer | svs-odoo <svs@odoo.com> | 2020-03-26 11:27:45 +0000 |
| commit | 2589d66c623d50ac2ec8b3efe4bc46bc152ead36 (patch) | |
| tree | 63c8af8de448f80694b354632a4308e9c133ac2f /addons/stock/data | |
| parent | a05b21d74bde2b242e6d85f2d1ecf3e3638fde20 (diff) | |
[IMP] mrp,stock: tracked product always have SN/LN
Before this commit, some tracked product quantities didn't have a SN/LN.
To avoid some issue at the use, it's better all demo data fulfill
requirements like that.
Task #1970460
Diffstat (limited to 'addons/stock/data')
| -rw-r--r-- | addons/stock/data/stock_demo.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/stock/data/stock_demo.xml b/addons/stock/data/stock_demo.xml index aff0e10fbb8..755f67be949 100644 --- a/addons/stock/data/stock_demo.xml +++ b/addons/stock/data/stock_demo.xml @@ -5,6 +5,11 @@ <record id="base.user_demo" model="res.users"> <field eval="[(4, ref('group_stock_user'))]" name="groups_id"/> </record> + <record id="lot_product_27" model="stock.production.lot"> + <field name="name">0000000000029</field> + <field name="product_id" ref="product.product_product_27"/> + <field name="company_id" ref="base.main_company"/> + </record> <!-- Resource: stock.inventory --> @@ -119,6 +124,7 @@ <field name="product_uom_id" ref="uom.product_uom_unit"/> <field name="inventory_id" ref="stock_inventory_0"/> <field name="product_qty">80.0</field> + <field name="prod_lot_id" ref="lot_product_27"/> <field name="location_id" model="stock.location" eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/> </record> <record id="stock_inventory_line_14" model="stock.inventory.line"> |
