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.
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
10
product_id: product.product_product_1
12
product_uom: product.product_uom_unit
16
I confirm the procurement order PROC/TEST/0001.
18
!workflow {model: procurement.order, action: button_confirm, ref: procurement_order_test1}
21
I check that the procurement is scheduled automatically.
23
!assert {model: procurement.order, id: procurement_order_test1, string: procstate}: