[ADD] base_vat - swiss vat check
[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     chained_auto_packing: auto
22     chained_location_type: fixed
23     usage: supplier
24     chained_location_id: location_refrigerator
25     location_id: stock_location_suppliers
26 -
27  !record {model: stock.warehouse, id: warehouse_icecream}:
28     name: Ice Cream Shop
29     lot_input_id: location_refrigerator
30     lot_stock_id: location_refrigerator
31     lot_output_id: location_delivery_counter
32 -
33  !record {model: product.product, id: product_icecream}:
34     default_code: 001
35     name: Ice Cream
36     type: product
37     categ_id: product.cat1
38     supply_method: buy
39     list_price: 100.0
40     standard_price: 70.0
41     uom_id: product.product_uom_kgm
42     uom_po_id: product.product_uom_kgm
43     procure_method: make_to_stock
44     property_stock_inventory: location_opening
45     property_stock_account_input: location_refrigerator
46     property_stock_account_output: location_delivery_counter
47     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.
48
49 -
50  !record {model: stock.production.lot, id: lot_icecream_0}:
51     name: Lot0 for Ice cream
52     product_id: product_icecream
53 -
54  !record {model: stock.production.lot, id: lot_icecream_1}:
55     name: Lot1 for Ice cream
56     product_id: product_icecream
57 -
58  !record {model: stock.inventory, id: stock_inventory_icecream}:
59     name: Inventory for icecream
60 -
61  !record {model: stock.inventory.line, id: stock_inventory_line_icecream_lot0}:
62     product_id: product_icecream
63     product_uom: product.product_uom_kgm
64     inventory_id: stock_inventory_icecream
65     product_qty: 50.0
66     prod_lot_id: lot_icecream_0
67     location_id: location_refrigerator
68 -
69  !record {model: stock.inventory.line, id: stock_inventory_line_icecream_lot1}:
70     product_id: product_icecream
71     product_uom: product.product_uom_kgm
72     inventory_id: stock_inventory_icecream
73     product_qty: 40.0
74     prod_lot_id: lot_icecream_1
75     location_id: location_refrigerator
76         
77 -
78  !record {model: stock.picking, id: outgoing_shipment}:
79     type: out
80     location_dest_id: location_delivery_counter
81 -
82  !record {model: stock.move, id: outgoing_shipment_icecream}:
83     picking_id: outgoing_shipment
84     product_id: product_icecream
85     product_uom: product.product_uom_kgm
86     product_qty: 130.0
87     location_id: location_refrigerator
88     location_dest_id: location_delivery_counter
89 -
90  !record {model: stock.picking, id: incomming_shipment}:
91     type: in
92     invoice_state: 2binvoiced
93     address_id: base.res_partner_address_9
94     location_dest_id: location_refrigerator
95 -
96  !record {model: stock.move, id: incomming_shipment_icecream}:
97     picking_id: incomming_shipment
98     product_id: product_icecream
99     product_uom: product.product_uom_kgm
100     product_qty: 50.0
101     location_id: location_convenience_shop
102     location_dest_id: location_refrigerator