Merge branch 'master' of https://github.com/odoo/odoo
[odoo/odoo.git] / addons / mrp_repair / mrp_repair_demo.yml
1 -
2   !record {model: mrp.repair, id: mrp_repair_rmrp1}:
3     address_id: base.res_partner_address_1
4     guarantee_limit: !eval datetime.today().strftime("%Y-%m-%d")
5     invoice_method: 'none'
6     product_id: product.product_product_3
7     product_uom: product.product_uom_unit
8     partner_invoice_id: base.res_partner_address_1
9     location_dest_id: stock.stock_location_14
10     location_id: stock.stock_location_stock
11     operations:
12       - location_dest_id: stock.location_production
13         location_id: stock.stock_location_stock
14         name: '[M-Las] Mouse, Laser'
15         price_unit: 50.0
16         product_id: product.product_product_11
17         product_uom: product.product_uom_unit
18         product_uom_qty: 1.0
19         state: draft
20         to_invoice: 1
21         type: add
22     fees_lines:
23       - name: 'Mouse repair fees'
24         product_id: product.product_product_11
25         product_uom_qty: 1.0
26         product_uom: product.product_uom_unit
27         price_unit: 50.0
28     partner_id: base.res_partner_9
29 -
30   !record {model: mrp.repair, id: mrp_repair_rmrp0}:
31     product_id: product.product_product_5
32     product_uom: product.product_uom_unit
33     address_id: base.res_partner_address_1
34     guarantee_limit: !eval datetime.today().strftime("%Y-%m-%d")
35     invoice_method: 'after_repair'
36     partner_invoice_id: base.res_partner_address_1
37     location_dest_id: stock.stock_location_14
38     location_id: stock.stock_location_stock
39     operations:
40       - location_dest_id: stock.location_production
41         location_id: stock.stock_location_stock
42         name: '[M-Wir] Mouse, Wireless'
43         price_unit: 50.0
44         product_id: product.product_product_12
45         product_uom: product.product_uom_unit
46         product_uom_qty: 1.0
47         state: draft
48         to_invoice: 1
49         type: add
50     fees_lines:
51       - name: 'Mouse Seagate repair fees'
52         product_id: product.product_product_12
53         product_uom_qty: 1.0
54         product_uom: product.product_uom_unit
55         price_unit: 50.0
56     partner_id: base.res_partner_9
57 -
58   !record {model: mrp.repair, id: mrp_repair_rmrp2}:
59     product_id: product.product_product_6
60     product_uom: product.product_uom_unit
61     address_id: base.res_partner_address_1
62     guarantee_limit: !eval datetime.today().strftime("%Y-%m-%d")
63     invoice_method: 'b4repair'
64     partner_invoice_id: base.res_partner_address_1
65     location_dest_id: stock.stock_location_stock
66     location_id: stock.stock_location_14
67     operations:
68       - location_dest_id: stock.location_production
69         location_id: stock.stock_location_stock
70         name: '[RAM-SR5] RAM DDR SR5'
71         price_unit: 50.0
72         product_id: product.product_product_13
73         product_uom: product.product_uom_unit
74         product_uom_qty: 1.0
75         state: draft
76         to_invoice: 1
77         type: add
78     fees_lines:
79       - name: 'RAM fees'
80         product_id: product.product_product_13
81         product_uom_qty: 1.0
82         product_uom: product.product_uom_unit
83         price_unit: 50.0
84     partner_id: base.res_partner_9