1 <?xml version="1.0" encoding="utf-8"?>
6 Resource: stock.location
8 <record id="stock_location_3" model="stock.location">
9 <field name="name">IT Suppliers</field>
10 <field name="location_id" ref="stock_location_suppliers"/>
11 <field name="usage">supplier</field>
13 <record id="stock_location_4" model="stock.location">
14 <field name="name">Maxtor Suppliers</field>
15 <field name="location_id" ref="stock_location_3"/>
16 <field name="usage">supplier</field>
18 <record id="stock_location_5" model="stock.location">
19 <field name="name">Generic IT Suppliers</field>
20 <field name="location_id" ref="stock_location_3"/>
21 <field name="usage">supplier</field>
23 <record id="stock_location_7" model="stock.location">
24 <field name="name">European Customers</field>
25 <field name="location_id" ref="stock_location_customers"/>
26 <field name="usage">customer</field>
28 <record id="stock_location_8" model="stock.location">
29 <field name="name">Non European Customers</field>
30 <field name="location_id" ref="stock_location_customers"/>
31 <field name="usage">customer</field>
33 <record id="stock_location_13" model="stock.location">
34 <field name="name">Stock Level 1</field>
35 <field name="location_id" ref="stock_location_stock"/>
37 <record id="stock_location_14" model="stock.location">
38 <field name="name">Shelf 2</field>
39 <field name="location_id" ref="stock_location_13"/>
40 <!-- <field model="account.account" name="account_id" search="[('name','=','Merchandise Type B')]"/>-->
42 <record id="stock_location_15" model="stock.location">
43 <field name="name">Sub Products</field>
44 <field name="location_id" ref="stock_location_13"/>
46 <record id="stock_location_workshop" model="stock.location">
47 <field name="name">Workshop</field>
48 <field name="location_id" ref="stock_location_stock"/>
50 <record id="stock_location_components" model="stock.location">
51 <field name="name">Shelf 1</field>
52 <field name="location_id" ref="stock_location_workshop"/>
56 Resource: stock.inventory
59 <record id="stock_inventory_0" model="stock.inventory">
60 <field name="name">Starting Inventory</field>
61 <field name="date_done">2005-08-02 13:42:43</field>
62 <field name="state">done</field>
66 Resource: stock.inventory.line
69 <record id="stock_inventory_line_0" model="stock.inventory.line">
70 <field name="product_id" ref="product.product_product_pc1"/>
71 <field name="product_uom" ref="product.product_uom_unit"/>
72 <field name="inventory_id" ref="stock_inventory_0"/>
73 <field name="product_qty">14.0</field>
74 <field name="location_id" ref="stock_location_14"/>
77 <record id="stock_inventory_line_1" model="stock.inventory.line">
78 <field name="product_id" ref="product.product_product_24"/>
79 <field name="product_uom" ref="product.product_uom_unit"/>
80 <field name="inventory_id" ref="stock_inventory_0"/>
81 <field name="product_qty">16.0</field>
82 <field name="location_id" ref="stock_location_14"/>
84 <record model="stock.inventory.line">
85 <field name="product_id" ref="product.product_product_25"/>
86 <field name="product_uom" ref="product.product_uom_unit"/>
87 <field name="inventory_id" ref="stock_inventory_0"/>
88 <field name="product_qty">16.0</field>
89 <field name="location_id" ref="stock_location_14"/>
91 <record model="stock.inventory.line">
92 <field name="product_id" ref="product.product_product_pc3"/>
93 <field name="product_uom" ref="product.product_uom_unit"/>
94 <field name="inventory_id" ref="stock_inventory_0"/>
95 <field name="product_qty">8.0</field>
96 <field name="location_id" ref="stock_location_14"/>
98 <record id="stock_inventory_line_2" model="stock.inventory.line">
99 <field name="product_id" ref="product.product_product_mb1"/>
100 <field name="product_uom" ref="product.product_uom_unit"/>
101 <field name="inventory_id" ref="stock_inventory_0"/>
102 <field name="product_qty">18.0</field>
103 <field name="location_id" ref="stock_location_components"/>
105 <record id="stock_inventory_line_3" model="stock.inventory.line">
106 <field name="product_id" ref="product.product_product_mb2"/>
107 <field name="product_uom" ref="product.product_uom_unit"/>
108 <field name="inventory_id" ref="stock_inventory_0"/>
109 <field name="product_qty">10.0</field>
110 <field name="location_id" ref="stock_location_components"/>
112 <record id="stock_inventory_line_4" model="stock.inventory.line">
113 <field name="product_id" ref="product.product_product_cpu1"/>
114 <field name="product_uom" ref="product.product_uom_unit"/>
115 <field name="inventory_id" ref="stock_inventory_0"/>
116 <field name="product_qty">22.0</field>
117 <field name="location_id" ref="stock_location_components"/>
119 <record id="stock_inventory_line_5" model="stock.inventory.line">
120 <field name="product_id" ref="product.product_product_cpu3"/>
121 <field name="product_uom" ref="product.product_uom_unit"/>
122 <field name="inventory_id" ref="stock_inventory_0"/>
123 <field name="product_qty">8.0</field>
124 <field name="location_id" ref="stock_location_components"/>
126 <record id="stock_inventory_line_6" model="stock.inventory.line">
127 <field name="product_id" ref="product.product_product_hdd1"/>
128 <field name="product_uom" ref="product.product_uom_unit"/>
129 <field name="inventory_id" ref="stock_inventory_0"/>
130 <field name="product_qty">26.0</field>
131 <field name="location_id" ref="stock_location_components"/>
133 <record id="stock_inventory_line_7" model="stock.inventory.line">
134 <field name="product_id" ref="product.product_product_fan"/>
135 <field name="product_uom" ref="product.product_uom_unit"/>
136 <field name="inventory_id" ref="stock_inventory_0"/>
137 <field name="product_qty">32.0</field>
138 <field name="location_id" ref="stock_location_components"/>
140 <record id="stock_inventory_line_8" model="stock.inventory.line">
141 <field name="product_id" ref="product.product_product_fan2"/>
142 <field name="product_uom" ref="product.product_uom_unit"/>
143 <field name="inventory_id" ref="stock_inventory_0"/>
144 <field name="product_qty">37.0</field>
145 <field name="location_id" ref="stock_location_components"/>
147 <record id="stock_inventory_line_9" model="stock.inventory.line">
148 <field name="product_id" ref="product.product_product_ram"/>
149 <field name="product_uom" ref="product.product_uom_unit"/>
150 <field name="inventory_id" ref="stock_inventory_0"/>
151 <field name="product_qty">39.0</field>
152 <field name="location_id" ref="stock_location_components"/>
154 <record id="stock_inventory_line_10" model="stock.inventory.line">
155 <field name="product_id" ref="product.product_product_ram512"/>
156 <field name="product_uom" ref="product.product_uom_unit"/>
157 <field name="inventory_id" ref="stock_inventory_0"/>
158 <field name="product_qty">45.0</field>
159 <field name="location_id" ref="stock_location_components"/>
161 <record id="stock_inventory_line_11" model="stock.inventory.line">
162 <field name="product_id" ref="product.product_product_hdd2"/>
163 <field name="product_uom" ref="product.product_uom_unit"/>
164 <field name="inventory_id" ref="stock_inventory_0"/>
165 <field name="product_qty">10.0</field>
166 <field name="location_id" ref="stock_location_components"/>
168 <record id="stock_inventory_line_12" model="stock.inventory.line">
169 <field name="product_id" ref="product.product_product_hdd3"/>
170 <field name="product_uom" ref="product.product_uom_unit"/>
171 <field name="inventory_id" ref="stock_inventory_0"/>
172 <field name="product_qty">2.0</field>
173 <field name="location_id" ref="stock_location_components"/>
175 <record id="stock_inventory_line_13" model="stock.inventory.line">
176 <field name="product_id" ref="product.product_product_tow1"/>
177 <field name="product_uom" ref="product.product_uom_unit"/>
178 <field name="inventory_id" ref="stock_inventory_0"/>
179 <field name="product_qty">80.0</field>
180 <field name="location_id" ref="stock_location_components"/>
183 <function model="stock.inventory" name="action_done">
184 <function eval="[[]]" model="stock.inventory" name="search"/>
187 <!-- Multi Company -->
189 <record id="res_partner_tinyshop0" model="res.partner">
190 <field eval="0" name="customer"/>
191 <field eval="0" name="supplier"/>
192 <field eval="1" name="active"/>
193 <field eval=""""Tiny Shop 1"""" name="name"/>
195 <record id="res_partner_address_fabien0" model="res.partner.address">
196 <field eval=""""Fabien"""" name="name"/>
197 <field name="partner_id" ref="res_partner_tinyshop0"/>
198 <field eval="1" name="active"/>
200 <record id="res_company_shop0" model="res.company">
201 <field name="currency_id" ref="base.EUR"/>
202 <field name="partner_id" ref="res_partner_tinyshop0"/>
203 <field name="parent_id" ref="base.main_company"/>
204 <field eval=""""Shop 1"""" name="name"/>
206 <record id="res_partner_tinyshop1" model="res.partner">
207 <field eval="1" name="customer"/>
208 <field eval="0" name="supplier"/>
209 <field eval="1" name="active"/>
210 <field eval=""""Tiny Shop 2"""" name="name"/>
212 <record id="res_partner_address_eric0" model="res.partner.address">
213 <field eval=""""Eric"""" name="name"/>
214 <field name="partner_id" ref="res_partner_tinyshop1"/>
215 <field eval="1" name="active"/>
217 <record id="res_company_tinyshop0" model="res.company">
218 <field name="currency_id" ref="base.EUR"/>
219 <field eval="1.0" name="po_lead"/>
220 <field name="partner_id" ref="res_partner_tinyshop1"/>
221 <field eval="1.0" name="manufacturing_lead"/>
222 <field name="parent_id" ref="base.main_company"/>
223 <field eval="80.0" name="schedule_range"/>
224 <field eval=""""Shop 2"""" name="name"/>
226 <record id="stock_location_shop0" model="stock.location">
227 <field model="res.partner.address" name="address_id" search="[('name','=','Fabien')]"/>
228 <field eval=""""fifo"""" name="allocation_method"/>
229 <field name="location_id" ref="stock.stock_location_company"/>
230 <field name="company_id" ref="res_company_shop0"/>
231 <field eval=""""internal"""" name="usage"/>
232 <field eval=""""none"""" name="chained_location_type"/>
233 <field eval="1" name="active"/>
234 <field eval=""""Shop 1"""" name="name"/>
235 <field eval=""""manual"""" name="chained_auto_packing"/>
237 <record id="stock_location_shop1" model="stock.location">
238 <field model="res.partner.address" name="address_id" search="[('name','=','Eric')]"/>
239 <field name="company_id" ref="res_company_tinyshop0"/>
240 <field name="location_id" ref="stock.stock_location_company"/>
241 <field eval=""""internal"""" name="usage"/>
242 <field eval="1" name="active"/>
243 <field eval=""""Shop 2"""" name="name"/>
245 <!--<record id="res_users_shopuser0" model="res.users">
246 <field model="ir.actions.actions" name="menu_id" search="[('name','=','Menu')]"/>
247 <field eval="[(6,0,[ref('base.group_user'),ref('stock.group_stock_user')])]" name="groups_id"/>
248 <field model="res.partner.address" name="address_id" search="[('name','=','Fabien')]"/>
249 <field eval="[(6,0,[])]" name="roles_id"/>
250 <field eval="1" name="active"/>
251 <field eval=""""shop1"""" name="password"/>
252 <field eval=""""en_US"""" name="context_lang"/>
253 <field eval=""""Shop 1 User"""" name="name"/>
254 <field name="company_id" ref="res_company_shop0"/>
255 <field eval=""""shop1"""" name="login"/>
256 <field model="ir.actions.actions" name="action_id" search="[('name','=','Menu')]"/>
258 <record id="res_users_shopuser1" model="res.users">
259 <field model="ir.actions.actions" name="menu_id" search="[('name','=','Menu')]"/>
260 <field eval="[(6,0,[ref('base.group_user'),ref('stock.group_stock_user')])]" name="groups_id"/>
261 <field model="res.partner.address" name="address_id" search="[('name','=','Eric')]"/>
262 <field eval=""""shop2"""" name="password"/>
263 <field eval=""""Shop 2 User"""" name="name"/>
264 <field name="company_id" ref="res_company_tinyshop0"/>
265 <field eval=""""shop2"""" name="login"/>
266 <field model="ir.actions.actions" name="action_id" search="[('name','=','Menu')]"/>
268 --><record id="stock_location_intermediatelocation0" model="stock.location">
269 <field name="address_id" ref="base.main_address"/>
270 <field name="location_id" ref="stock.stock_location_company"/>
271 <field eval=""""procurement"""" name="usage"/>
272 <field eval=""""Internal Shippings"""" name="name"/>
275 <record id="stock_warehouse_shop0" model="stock.warehouse">
276 <field name="lot_output_id" ref="stock.stock_location_output"/>
277 <field eval=""""Shop 1"""" name="name"/>
278 <field name="lot_stock_id" ref="stock_location_shop0"/>
279 <field name="partner_address_id" ref="res_partner_address_fabien0"/>
280 <field name="company_id" ref="res_company_shop0"/>
281 <field name="lot_input_id" ref="stock_location_shop0"/>
283 <record id="stock_warehouse_shop1" model="stock.warehouse">
284 <field name="lot_output_id" ref="stock.stock_location_output"/>
285 <field eval=""""Shop 2"""" name="name"/>
286 <field name="lot_stock_id" ref="stock_location_shop1"/>
287 <field name="partner_address_id" ref="res_partner_address_eric0"/>
288 <field name="company_id" ref="res_company_tinyshop0"/>
289 <field name="lot_input_id" ref="stock_location_shop1"/>
292 <record forcecreate="True" id="property_stock_variation" model="ir.property">
293 <field name="name">property_stock_variation</field>
294 <field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_variation')]"/>
295 <field eval="'account.account,'+str(ref('account.a_recv'))" model="account.account" name="value"/>
296 <field name="company_id" ref="base.main_company"/>