7 <record model="res.request.link" id="req_link_tracking">
8 <field name="name">Production Lot</field>
9 <field name="object">stock.production.lot</field>
13 Resource: stock.location
15 <record id="stock_location_locations" model="stock.location">
16 <field name="name">Physical Locations</field>
17 <field name="usage">view</field>
19 <record id="stock_location_locations_partner" model="stock.location">
20 <field name="name">Partner Locations</field>
21 <field name="usage">view</field>
23 <record id="stock_location_locations_virtual" model="stock.location">
24 <field name="name">Virtual Locations</field>
25 <field name="usage">view</field>
28 <record model="stock.location" id="location_inventory">
29 <field name="name">Inventory loss</field>
30 <field name="location_id" ref="stock_location_locations_virtual"/>
31 <field name="usage">inventory</field>
33 <record model="stock.location" id="location_procurement">
34 <field name="name">Procurements</field>
35 <field name="location_id" ref="stock_location_locations_virtual"/>
36 <field name="usage">procurement</field>
38 <record id="location_production" model="stock.location">
39 <field name="name">Default Production</field>
40 <field name="location_id" ref="stock_location_locations_virtual"/>
41 <field name="usage">production</field>
43 <record id="stock_location_suppliers" model="stock.location">
44 <field name="name">Suppliers</field>
45 <field name="location_id" ref="stock_location_locations_partner"/>
46 <field name="usage">supplier</field>
48 <record id="stock_location_customers" model="stock.location">
49 <field name="name">Customers</field>
50 <field name="location_id" ref="stock_location_locations_partner"/>
51 <field name="usage">customer</field>
53 <record id="stock_location_company" model="stock.location">
54 <field name="name" model="res.company" use="name" search="[]"/>
55 <field name="usage">view</field>
56 <field name="location_id" ref="stock_location_locations"/>
58 <record id="stock_location_output" model="stock.location">
59 <field name="name">Output</field>
60 <field name="location_id" ref="stock_location_company"/>
61 <field name="usage">internal</field>
62 <field name="chained_location_type">customer</field>
64 <record id="stock_location_stock" model="stock.location">
65 <field name="name">Stock</field>
66 <field name="location_id" ref="stock_location_company"/>
72 <record model="ir.property" id="property_stock_supplier" forcecreate="True">
73 <field name="name">property_stock_supplier</field>
74 <field name="fields_id" search="[('model','=','res.partner'),('name','=','property_stock_supplier')]"/>
75 <field name="value" eval="'stock.location,'+str(stock_location_suppliers)"/>
77 <record model="ir.property" id="property_stock_customer" forcecreate="True">
78 <field name="name">property_stock_customer</field>
79 <field name="fields_id" search="[('model','=','res.partner'),('name','=','property_stock_customer')]"/>
80 <field name="value" eval="'stock.location,'+str(stock_location_customers)"/>
83 <record model="ir.property" id="property_stock_procurement" forcecreate="True">
84 <field name="name">property_stock_procurement</field>
85 <field name="fields_id" search="[('model','=','product.template'),('name','=','property_stock_procurement')]"/>
86 <field name="value" eval="'stock.location,'+str(location_procurement)"/>
88 <record model="ir.property" id="property_stock_inventory" forcecreate="True">
89 <field name="name">property_stock_inventory</field>
90 <field name="fields_id" search="[('model','=','product.template'),('name','=','property_stock_inventory')]"/>
91 <field name="value" eval="'stock.location,'+str(location_inventory)"/>
93 <record model="ir.property" id="property_stock_production" forcecreate="True">
94 <field name="name">property_stock_production</field>
95 <field name="fields_id" search="[('model','=','product.template'),('name','=','property_stock_production')]"/>
96 <field name="value" eval="'stock.location,'+str(location_production)"/>
100 Resource: stock.warehouse
102 <record model="stock.warehouse" id="warehouse0">
103 <field name="name" search="[]" model="res.company" use="name"/>
104 <field name="lot_input_id" ref="stock_location_stock"/>
105 <field name="lot_stock_id" ref="stock_location_stock"/>
106 <field name="lot_output_id" ref="stock_location_output"/>