odoo/openerpcommand/addons/bench_sale_mrp/data.yml

42 lines
1.1 KiB
YAML

-
This is a subset of `sale_mrp/test/sale_mrp.yml`.
-
I define a product category `Mobile Products Sellable`.
-
!record {model: product.category, id: my_product_category_0}:
name: Mobile Products Sellable
-
I define a product `Slider Mobile`
-
!record {model: product.product, id: my_slider_mobile_0}:
categ_id: my_product_category_0
cost_method: standard
list_price: 200.0
mes_type: fixed
name: Slider Mobile
procure_method: make_to_order
seller_delay: '1'
seller_ids:
- delay: 1
name: base.res_partner_agrolait
min_qty: 2.0
qty: 5.0
standard_price: 189.0
supply_method: produce
type: product
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
I create a Bill of Material for the `Slider Mobile` product.
-
!record {model: mrp.bom, id: mrp_bom_slidermobile0}:
company_id: base.main_company
name: Slider Mobile
product_efficiency: 1.0
product_id: my_slider_mobile_0
product_qty: 1.0
product_uom: product.product_uom_unit
product_uos_qty: 0.0
sequence: 0.0
type: normal