[IMP] res.users: enable cache on context_get, used by the _() translation function
[odoo/odoo.git] / addons / stock / stock_demo.yml
1 -
2  !record {model: stock.location, id: location_refrigerator}:
3     name: Refrigerator
4     usage: internal
5 -
6  !record {model: stock.location, id: location_delivery_counter}:
7     name: Delivery Counter
8     usage: internal
9 -
10  !record {model: stock.location, id: location_refrigerator_small}:
11     name: Small Refrigerator
12     usage: internal
13     location_id: location_refrigerator
14 -
15  !record {model: stock.location, id: location_opening}:
16     name: opening
17     usage: inventory
18 -
19  !record {model: stock.location, id: location_convenience_shop}:
20     name: Convenient Store
21     usage: supplier
22 -
23  !record {model: stock.warehouse, id: warehouse_icecream}:
24     name: Ice Cream Shop
25     lot_input_id: location_refrigerator
26     lot_stock_id: location_refrigerator
27     lot_output_id: location_delivery_counter
28 -
29  !record {model: product.product, id: product_icecream}:
30     default_code: 001
31     name: Ice Cream
32     type: product
33     categ_id: product.product_category_1
34     list_price: 100.0
35     standard_price: 70.0
36     uom_id: product.product_uom_kgm
37     uom_po_id: product.product_uom_kgm
38     procure_method: make_to_stock
39     property_stock_inventory: location_opening
40     valuation: real_time
41     cost_method: average
42     property_stock_account_input: account.o_expense
43     property_stock_account_output: account.o_income
44     description: Ice cream can be mass-produced and thus is widely available in developed parts of the world. Ice cream can be purchased in large cartons (vats and squrounds) from supermarkets and grocery stores, in smaller quantities from ice cream shops, convenience stores, and milk bars, and in individual servings from small carts or vans at public events.
45
46 -
47  !record {model: stock.production.lot, id: lot_icecream_0}:
48     name: Lot0 for Ice cream
49     product_id: product_icecream
50 -
51  !record {model: stock.production.lot, id: lot_icecream_1}:
52     name: Lot1 for Ice cream
53     product_id: product_icecream
54 -
55  !record {model: stock.inventory, id: stock_inventory_icecream}:
56     name: Inventory for icecream
57 -
58  !record {model: stock.inventory.line, id: stock_inventory_line_icecream_lot0}:
59     product_id: product_icecream
60     product_uom: product.product_uom_kgm
61     inventory_id: stock_inventory_icecream
62     product_qty: 50.0
63     prod_lot_id: lot_icecream_0
64     location_id: location_refrigerator
65 -
66  !record {model: stock.inventory.line, id: stock_inventory_line_icecream_lot1}:
67     product_id: product_icecream
68     product_uom: product.product_uom_kgm
69     inventory_id: stock_inventory_icecream
70     product_qty: 40.0
71     prod_lot_id: lot_icecream_1
72     location_id: location_refrigerator
73
74 -
75  !record {model: stock.picking, id: outgoing_shipment}:
76     type: out
77     location_dest_id: location_delivery_counter
78 -
79  !record {model: stock.move, id: outgoing_shipment_icecream}:
80     picking_id: outgoing_shipment
81     product_id: product_icecream
82     product_uom: product.product_uom_kgm
83     product_qty: 130.0
84     location_id: location_refrigerator
85     location_dest_id: location_delivery_counter
86 -
87  !record {model: stock.picking, id: incomming_shipment}:
88     type: in
89     invoice_state: 2binvoiced
90     partner_id: base.res_partner_address_9
91     location_dest_id: location_refrigerator
92 -
93  !record {model: stock.move, id: incomming_shipment_icecream}:
94     picking_id: incomming_shipment
95     product_id: product_icecream
96     product_uom: product.product_uom_kgm
97     product_qty: 50.0
98     location_id: location_convenience_shop
99     location_dest_id: location_refrigerator