[FIX] project,hr: improved alias creation/duplication
[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.cat1
34     supply_method: buy
35     list_price: 100.0
36     standard_price: 70.0
37     uom_id: product.product_uom_kgm
38     uom_po_id: product.product_uom_kgm
39     procure_method: make_to_stock
40     property_stock_inventory: location_opening
41     valuation: real_time
42     cost_method: average
43     property_stock_account_input: account.o_expense
44     property_stock_account_output: account.o_income
45     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.
46
47 -
48  !record {model: stock.production.lot, id: lot_icecream_0}:
49     name: Lot0 for Ice cream
50     product_id: product_icecream
51 -
52  !record {model: stock.production.lot, id: lot_icecream_1}:
53     name: Lot1 for Ice cream
54     product_id: product_icecream
55 -
56  !record {model: stock.inventory, id: stock_inventory_icecream}:
57     name: Inventory for icecream
58 -
59  !record {model: stock.inventory.line, id: stock_inventory_line_icecream_lot0}:
60     product_id: product_icecream
61     product_uom: product.product_uom_kgm
62     inventory_id: stock_inventory_icecream
63     product_qty: 50.0
64     prod_lot_id: lot_icecream_0
65     location_id: location_refrigerator
66 -
67  !record {model: stock.inventory.line, id: stock_inventory_line_icecream_lot1}:
68     product_id: product_icecream
69     product_uom: product.product_uom_kgm
70     inventory_id: stock_inventory_icecream
71     product_qty: 40.0
72     prod_lot_id: lot_icecream_1
73     location_id: location_refrigerator
74
75 -
76  !record {model: stock.picking, id: outgoing_shipment}:
77     type: out
78     location_dest_id: location_delivery_counter
79 -
80  !record {model: stock.move, id: outgoing_shipment_icecream}:
81     picking_id: outgoing_shipment
82     product_id: product_icecream
83     product_uom: product.product_uom_kgm
84     product_qty: 130.0
85     location_id: location_refrigerator
86     location_dest_id: location_delivery_counter
87 -
88  !record {model: stock.picking, id: incomming_shipment}:
89     type: in
90     invoice_state: 2binvoiced
91     partner_id: base.res_partner_address_9
92     location_dest_id: location_refrigerator
93 -
94  !record {model: stock.move, id: incomming_shipment_icecream}:
95     picking_id: incomming_shipment
96     product_id: product_icecream
97     product_uom: product.product_uom_kgm
98     product_qty: 50.0
99     location_id: location_convenience_shop
100     location_dest_id: location_refrigerator