~agilebg/sale-wkfl/7.0_add_product_pricelist_properties_based

« back to all changes in this revision

Viewing changes to sale_jit_on_services/test/sale_service_jit_test.yml

[ADD] sale_jit_on_services module that provide the mrp_jit feature but only on product of type service

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-
 
2
  In order to test mrp_jit module with OpenERP, I create procurement order for 
 
3
  Computer Case product and check whether it runs without scheduler or not.
 
4
-
 
5
  !record {model: procurement.order, id: procurement_order_test1}:
 
6
    company_id: base.main_company
 
7
    date_planned: !eval datetime.today().strftime("%Y-%m-%d %H:%M:%S")
 
8
    location_id: stock.stock_location_stock
 
9
    name: PROC/TEST/0001
 
10
    product_id: product.product_product_1
 
11
    product_qty: 1.0
 
12
    product_uom: product.product_uom_unit
 
13
    product_uos_qty: 0.0
 
14
-
 
15
  |
 
16
  I confirm the procurement order PROC/TEST/0001.
 
17
-
 
18
  !workflow {model: procurement.order, action: button_confirm, ref: procurement_order_test1}
 
19
-
 
20
  |
 
21
  I check that the procurement is scheduled automatically.
 
22
-
 
23
  !assert {model: procurement.order, id: procurement_order_test1, string: procstate}:
 
24
    - state<>'confirmed'