[IMP]: improved the statement

bzr revid: ksa@tinyerp.com-20111207062500-4rztx35ds937lbsj
This commit is contained in:
Kirti Savalia (OpenERP) 2011-12-07 11:55:00 +05:30
parent 0b687827bd
commit ab67c3db61
1 changed files with 1 additions and 6 deletions

View File

@ -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'