-
!workflow {model: sale.order, action: order_confirm, ref: sale_order_testtender1}
-
- I launch he scheduler to compute all procurements, and planify all requisitions orders.
+ I launch the scheduler to compute all procurements, and planify all requisitions orders.
-
!python {model: procurement.order.compute.all}: |
proc_obj = self.pool.get('procurement.order')
ids =req_obj.search(cr, uid, [('origin','=','Laptop ACER1')])
purchase_id= self.search(cr, uid, [('partner_id','=',partner_id),('requisition_id','in',ids)])[0]
state=self.browse(cr,uid,purchase_id).state
- assert (state=='cancel')
\ No newline at end of file
+ assert (state=='cancel')