Files
odoo_source/addons/stock/data/stock_demo_pre.xml
T
Pierre Masereel f3ad1e2bcb [REF] stock: remove confusing demo data
As configuring multiple vendor locations is a quite advanced case, that
need too change configuration on partners, and eventually routing, we
remove those demo data that can lead to misunderstanding the way vendor
locations works.

We've also adapted a test that was using those demo data

TASK-ID: 38469
2018-11-27 10:47:36 +00:00

20 lines
808 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="stock_location_14" model="stock.location">
<field name="name">Shelf 2</field>
<field name="posx">0</field>
<field name="barcode">2601985</field>
<field name="location_id" model="stock.location"
eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
</record>
<record id="stock_location_components" model="stock.location">
<field name="name">Shelf 1</field>
<field name="posx">0</field>
<field name="barcode">2601892</field>
<field name="location_id" model="stock.location"
eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
</record>
</data>
</odoo>