[IMP]: improved the statement
bzr revid: ksa@tinyerp.com-20111207062500-4rztx35ds937lbsj
This commit is contained in:
parent
0b687827bd
commit
ab67c3db61
|
@ -44,17 +44,12 @@
|
|||
I confirmed the purchase order.
|
||||
-
|
||||
!workflow {model: purchase.order, action: purchase_confirm, ref: order_purchase12}
|
||||
-
|
||||
I check that the order which was initially in the draft state has transmit to confirm state for double validation.
|
||||
-
|
||||
!assert {model: purchase.order, id: order_purchase12}:
|
||||
- state == 'confirmed'
|
||||
-
|
||||
I Approved the purchase order.
|
||||
-
|
||||
!workflow {model: purchase.order, action: purchase_approve, ref: order_purchase12}
|
||||
-
|
||||
I check that the order which was initially in the confirmed state has transmit to approved state.
|
||||
I check that the order has transmit to approved state.
|
||||
-
|
||||
!assert {model: purchase.order, id: order_purchase12}:
|
||||
- state == 'approved'
|
||||
|
|
Loading…
Reference in New Issue