|
3 | 3 | <record id="product_quant_1" model="stock.quant"> |
4 | 4 | <field name="product_id" ref="product_product_37"/> |
5 | 5 | <field name="inventory_quantity">0</field> |
| 6 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
6 | 7 | </record> |
7 | 8 | <record id="product_quant_2" model="stock.quant"> |
8 | 9 | <field name="product_id" ref="product_product_7"/> |
9 | 10 | <field name="inventory_quantity">0</field> |
| 11 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
10 | 12 | </record> |
11 | 13 | <record id="product_quant_3" model="stock.quant"> |
12 | 14 | <field name="product_id" ref="product_product_39"/> |
13 | 15 | <field name="inventory_quantity">0</field> |
| 16 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
14 | 17 | </record> |
15 | 18 | <record id="product_quant_4" model="stock.quant"> |
16 | 19 | <field name="product_id" ref="product_product_41"/> |
17 | 20 | <field name="inventory_quantity">0</field> |
| 21 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
18 | 22 | </record> |
19 | 23 | <record id="product_quant_5" model="stock.quant"> |
20 | 24 | <field name="product_id" ref="product_product_43"/> |
21 | 25 | <field name="inventory_quantity">0</field> |
| 26 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
22 | 27 | </record> |
23 | 28 | <record id="product_quant_6" model="stock.quant"> |
24 | 29 | <field name="product_id" ref="product_product_45"/> |
25 | 30 | <field name="inventory_quantity">0</field> |
| 31 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
26 | 32 | </record> |
27 | 33 | <record id="product_quant_7" model="stock.quant"> |
28 | 34 | <field name="product_id" ref="product_product_47"/> |
29 | 35 | <field name="inventory_quantity">0</field> |
| 36 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
30 | 37 | </record> |
31 | 38 | <record id="product_quant_8" model="stock.quant"> |
32 | 39 | <field name="product_id" ref="product_product_36"/> |
33 | 40 | <field name="inventory_quantity">4</field> |
| 41 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
34 | 42 | </record> |
35 | 43 | <record id="product_quant_9" model="stock.quant"> |
36 | 44 | <field name="product_id" ref="product_product_6"/> |
37 | 45 | <field name="inventory_quantity">0</field> |
| 46 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
38 | 47 | </record> |
39 | 48 | <record id="product_quant_10" model="stock.quant"> |
40 | 49 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_56'))]"/> |
41 | 50 | <field name="inventory_quantity">0</field> |
| 51 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
42 | 52 | </record> |
43 | 53 | <record id="product_quant_11" model="stock.quant"> |
44 | 54 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_67'))]"/> |
45 | 55 | <field name="inventory_quantity">40</field> |
| 56 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
46 | 57 | </record> |
47 | 58 | <record id="product_quant_12" model="stock.quant"> |
48 | 59 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_6'))]"/> |
49 | 60 | <field name="inventory_quantity">0</field> |
| 61 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
50 | 62 | </record> |
51 | 63 | <record id="product_quant_13" model="stock.quant"> |
52 | 64 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_59'))]"/> |
53 | 65 | <field name="inventory_quantity">50</field> |
| 66 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
54 | 67 | </record> |
55 | 68 | <record id="product_quant_14" model="stock.quant"> |
56 | 69 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_51'))]"/> |
57 | 70 | <field name="inventory_quantity">10</field> |
| 71 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
58 | 72 | </record> |
59 | 73 | <record id="product_quant_15" model="stock.quant"> |
60 | 74 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_27'))]"/> |
61 | 75 | <field name="inventory_quantity">10</field> |
| 76 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
62 | 77 | </record> |
63 | 78 | <record id="product_quant_16" model="stock.quant"> |
64 | 79 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_28'))]"/> |
65 | 80 | <field name="inventory_quantity">10</field> |
| 81 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
66 | 82 | </record> |
67 | 83 | <record id="product_quant_17" model="stock.quant"> |
68 | 84 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_29'))]"/> |
69 | 85 | <field name="inventory_quantity">10</field> |
| 86 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
70 | 87 | </record> |
71 | 88 | <record id="product_quant_18" model="stock.quant"> |
72 | 89 | <field name="product_id" search="[('product_tmpl_id', '=', ref('product_template_54'))]"/> |
73 | 90 | <field name="inventory_quantity">10</field> |
| 91 | + <field name="location_id" search="[('warehouse_id', '=', ref('excise_management.stock_warehouse_fiscal_deposit')), ('child_ids', '=', False)]"/> |
74 | 92 | </record> |
75 | 93 | <function name="action_apply_inventory" model="stock.quant" eval="[[ |
76 | 94 | ref('product_quant_1'), |
|
0 commit comments