1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="base.user_demo" model="res.users">
6 <field eval="[(4, ref('group_stock_user'))]" name="groups_id"/>
10 Resource: stock.location
12 <record id="stock_location_3" model="stock.location">
13 <field name="name">IT Suppliers</field>
14 <field name="location_id" ref="stock_location_suppliers"/>
15 <field name="usage">supplier</field>
17 <record id="stock_location_4" model="stock.location">
18 <field name="name">Maxtor Suppliers</field>
19 <field name="location_id" ref="stock_location_3"/>
20 <field name="usage">supplier</field>
22 <record id="stock_location_5" model="stock.location">
23 <field name="name">Generic IT Suppliers</field>
24 <field name="location_id" ref="stock_location_3"/>
25 <field name="usage">supplier</field>
27 <record id="stock_location_7" model="stock.location">
28 <field name="name">European Customers</field>
29 <field name="location_id" ref="stock_location_customers"/>
30 <field name="usage">customer</field>
32 <record id="stock_location_8" model="stock.location">
33 <field name="name">Non European Customers</field>
34 <field name="location_id" ref="stock_location_customers"/>
35 <field name="usage">customer</field>
37 <record id="stock_location_14" model="stock.location">
38 <field name="name">Shelf 2</field>
39 <field name="location_id" ref="stock_location_stock"/>
41 <record id="stock_location_components" model="stock.location">
42 <field name="name">Shelf 1</field>
43 <field name="location_id" ref="stock_location_stock"/>
48 Resource: stock.inventory
51 <record id="stock_inventory_0" model="stock.inventory">
52 <field name="name">Starting Inventory</field>
55 Resource: stock.inventory.line
58 <record id="stock_inventory_line_0" model="stock.inventory.line">
59 <field name="product_id" ref="product.product_product_pc1"/>
60 <field name="product_uom" ref="product.product_uom_unit"/>
61 <field name="inventory_id" ref="stock_inventory_0"/>
62 <field name="product_qty">14.0</field>
63 <field name="location_id" ref="stock_location_14"/>
66 <record id="stock_inventory_line_1" model="stock.inventory.line">
67 <field name="product_id" ref="product.product_product_24"/>
68 <field name="product_uom" ref="product.product_uom_unit"/>
69 <field name="inventory_id" ref="stock_inventory_0"/>
70 <field name="product_qty">16.0</field>
71 <field name="location_id" ref="stock_location_14"/>
73 <record model="stock.inventory.line">
74 <field name="product_id" ref="product.product_product_25"/>
75 <field name="product_uom" ref="product.product_uom_unit"/>
76 <field name="inventory_id" ref="stock_inventory_0"/>
77 <field name="product_qty">16.0</field>
78 <field name="location_id" ref="stock_location_14"/>
80 <record model="stock.inventory.line">
81 <field name="product_id" ref="product.product_product_pc3"/>
82 <field name="product_uom" ref="product.product_uom_unit"/>
83 <field name="inventory_id" ref="stock_inventory_0"/>
84 <field name="product_qty">8.0</field>
85 <field name="location_id" ref="stock_location_14"/>
87 <record id="stock_inventory_line_2" model="stock.inventory.line">
88 <field name="product_id" ref="product.product_product_mb1"/>
89 <field name="product_uom" ref="product.product_uom_unit"/>
90 <field name="inventory_id" ref="stock_inventory_0"/>
91 <field name="product_qty">18.0</field>
92 <field name="location_id" ref="stock_location_components"/>
94 <record id="stock_inventory_line_3" model="stock.inventory.line">
95 <field name="product_id" ref="product.product_product_mb2"/>
96 <field name="product_uom" ref="product.product_uom_unit"/>
97 <field name="inventory_id" ref="stock_inventory_0"/>
98 <field name="product_qty">10.0</field>
99 <field name="location_id" ref="stock_location_components"/>
101 <record id="stock_inventory_line_4" model="stock.inventory.line">
102 <field name="product_id" ref="product.product_product_cpu1"/>
103 <field name="product_uom" ref="product.product_uom_unit"/>
104 <field name="inventory_id" ref="stock_inventory_0"/>
105 <field name="product_qty">22.0</field>
106 <field name="location_id" ref="stock_location_components"/>
108 <record id="stock_inventory_line_5" model="stock.inventory.line">
109 <field name="product_id" ref="product.product_product_cpu3"/>
110 <field name="product_uom" ref="product.product_uom_unit"/>
111 <field name="inventory_id" ref="stock_inventory_0"/>
112 <field name="product_qty">8.0</field>
113 <field name="location_id" ref="stock_location_components"/>
115 <record id="stock_inventory_line_6" model="stock.inventory.line">
116 <field name="product_id" ref="product.product_product_hdd1"/>
117 <field name="product_uom" ref="product.product_uom_unit"/>
118 <field name="inventory_id" ref="stock_inventory_0"/>
119 <field name="product_qty">26.0</field>
120 <field name="location_id" ref="stock_location_components"/>
122 <record id="stock_inventory_line_7" model="stock.inventory.line">
123 <field name="product_id" ref="product.product_product_fan"/>
124 <field name="product_uom" ref="product.product_uom_unit"/>
125 <field name="inventory_id" ref="stock_inventory_0"/>
126 <field name="product_qty">32.0</field>
127 <field name="location_id" ref="stock_location_components"/>
129 <record id="stock_inventory_line_8" model="stock.inventory.line">
130 <field name="product_id" ref="product.product_product_fan2"/>
131 <field name="product_uom" ref="product.product_uom_unit"/>
132 <field name="inventory_id" ref="stock_inventory_0"/>
133 <field name="product_qty">37.0</field>
134 <field name="location_id" ref="stock_location_components"/>
136 <record id="stock_inventory_line_9" model="stock.inventory.line">
137 <field name="product_id" ref="product.product_product_ram"/>
138 <field name="product_uom" ref="product.product_uom_unit"/>
139 <field name="inventory_id" ref="stock_inventory_0"/>
140 <field name="product_qty">39.0</field>
141 <field name="location_id" ref="stock_location_components"/>
143 <record id="stock_inventory_line_10" model="stock.inventory.line">
144 <field name="product_id" ref="product.product_product_ram512"/>
145 <field name="product_uom" ref="product.product_uom_unit"/>
146 <field name="inventory_id" ref="stock_inventory_0"/>
147 <field name="product_qty">45.0</field>
148 <field name="location_id" ref="stock_location_components"/>
150 <record id="stock_inventory_line_11" model="stock.inventory.line">
151 <field name="product_id" ref="product.product_product_hdd2"/>
152 <field name="product_uom" ref="product.product_uom_unit"/>
153 <field name="inventory_id" ref="stock_inventory_0"/>
154 <field name="product_qty">10.0</field>
155 <field name="location_id" ref="stock_location_components"/>
157 <record id="stock_inventory_line_12" model="stock.inventory.line">
158 <field name="product_id" ref="product.product_product_hdd3"/>
159 <field name="product_uom" ref="product.product_uom_unit"/>
160 <field name="inventory_id" ref="stock_inventory_0"/>
161 <field name="product_qty">2.0</field>
162 <field name="location_id" ref="stock_location_components"/>
164 <record id="stock_inventory_line_13" model="stock.inventory.line">
165 <field name="product_id" ref="product.product_product_tow1"/>
166 <field name="product_uom" ref="product.product_uom_unit"/>
167 <field name="inventory_id" ref="stock_inventory_0"/>
168 <field name="product_qty">80.0</field>
169 <field name="location_id" ref="stock_location_components"/>
172 <function model="stock.inventory" name="action_confirm">
173 <function eval="[[('id', '=', ref('stock_inventory_0'))]]" model="stock.inventory" name="search"/>
176 <function model="stock.inventory" name="action_done">
177 <function eval="[[('id', '=', ref('stock_inventory_0'))]]" model="stock.inventory" name="search"/>
181 <!-- Multi Company -->
183 <record id="res_partner_tinyshop0" model="res.partner">
184 <field eval="0" name="customer"/>
185 <field eval="0" name="supplier"/>
186 <field eval="1" name="active"/>
187 <field eval=""""Shop 1"""" name="name"/>
188 <field name="address" eval="[]"/>
190 <record id="res_partner_address_fabien0" model="res.partner.address">
191 <field eval=""""Fabien"""" name="name"/>
192 <field name="partner_id" ref="res_partner_tinyshop0"/>
193 <field eval="1" name="active"/>
195 <record id="res_company_shop0" model="res.company">
196 <field name="currency_id" ref="base.EUR"/>
197 <field name="partner_id" ref="res_partner_tinyshop0"/>
198 <field name="parent_id" ref="base.main_company"/>
199 <field eval=""""Shop 1"""" name="name"/>
201 <record id="res_partner_tinyshop1" model="res.partner">
202 <field eval="1" name="customer"/>
203 <field eval="0" name="supplier"/>
204 <field eval="1" name="active"/>
205 <field eval=""""Shop 2"""" name="name"/>
206 <field name="address" eval="[]"/>
208 <record id="res_partner_address_eric0" model="res.partner.address">
209 <field eval=""""Eric"""" name="name"/>
210 <field name="partner_id" ref="res_partner_tinyshop1"/>
211 <field eval="1" name="active"/>
213 <record id="res_company_tinyshop0" model="res.company">
214 <field name="currency_id" ref="base.EUR"/>
215 <field name="partner_id" ref="res_partner_tinyshop1"/>
216 <field name="parent_id" ref="base.main_company"/>
217 <field eval=""""Shop 2"""" name="name"/>
219 <record id="stock_location_shop0" model="stock.location">
220 <field model="res.partner.address" name="address_id" search="[('name','=','Fabien')]"/>
221 <field name="location_id" ref="stock.stock_location_locations"/>
222 <field name="company_id" ref="res_company_shop0"/>
223 <field eval=""""internal"""" name="usage"/>
224 <field eval=""""none"""" name="chained_location_type"/>
225 <field eval="1" name="active"/>
226 <field eval=""""Shop 1"""" name="name"/>
227 <field eval=""""manual"""" name="chained_auto_packing"/>
229 <record id="stock_location_shop1" model="stock.location">
230 <field model="res.partner.address" name="address_id" search="[('name','=','Eric')]"/>
231 <field name="company_id" ref="res_company_tinyshop0"/>
232 <field name="location_id" ref="stock.stock_location_locations"/>
233 <field eval=""""internal"""" name="usage"/>
234 <field eval="1" name="active"/>
235 <field eval=""""Shop 2"""" name="name"/>
237 <record id="stock_location_intermediatelocation0" model="stock.location">
238 <field name="address_id" ref="base.main_address"/>
239 <field name="location_id" ref="stock.stock_location_locations_partner"/>
240 <field eval=""""procurement"""" name="usage"/>
241 <field eval=""""Internal Shippings"""" name="name"/>
244 <record id="stock_warehouse_shop0" model="stock.warehouse">
245 <field name="lot_output_id" ref="stock.stock_location_output"/>
246 <field eval=""""Shop 1"""" name="name"/>
247 <field name="lot_stock_id" ref="stock_location_shop0"/>
248 <field name="partner_address_id" ref="res_partner_address_fabien0"/>
249 <field name="company_id" ref="res_company_shop0"/>
250 <field name="lot_input_id" ref="stock_location_shop0"/>
252 <record id="stock_warehouse_shop1" model="stock.warehouse">
253 <field name="lot_output_id" ref="stock.stock_location_output"/>
254 <field name="name">Shop 2</field>
255 <field name="lot_stock_id" ref="stock_location_shop1"/>
256 <field name="partner_address_id" ref="res_partner_address_eric0"/>
257 <field name="company_id" ref="res_company_tinyshop0"/>
258 <field name="lot_input_id" ref="stock_location_shop1"/>
261 <record forcecreate="True" id="property_stock_valuation_account_id" model="ir.property">
262 <field name="name">property_stock_valuation_account_id</field>
263 <field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_valuation_account_id')]"/>
264 <field eval="'account.account,'+str(ref('account.stk'))" model="account.account" name="value"/>
265 <field name="company_id" ref="base.main_company"/>