[FIX] lp:1278078 purchase_requisition: fix broken test due to OCB-specific change
authoralexandre.fayolle@camptocamp.com <alexandre.fayolle@camptocamp.com>
Wed, 12 Mar 2014 18:44:28 +0000 (18:44 +0000)
committerStefan Rijnhart <stefan@therp.nl>
Wed, 2 Jul 2014 17:43:41 +0000 (19:43 +0200)
commit398ca93349a51dadfba5a00a666433eb15860820
tree8faba8c3c13446567874aa55ea419486173c6aa9
parent465cd71b493cdf8fe47021359d649b32b4c9fac1
[FIX] lp:1278078 purchase_requisition: fix broken test due to OCB-specific change

cancel_purchase_requisition.yml:
* use a different requisition from the one processed in purchase_requision.yml
* fix the 'I delete requisition' step which used to destroy a purchase.order

purchase_requisition.yml:
* add a check that the purchase.requisition cannot be cancelled if the purchase.order are not cancelled first.

https://launchpad.net/bugs/1278078
addons/purchase_requisition/test/cancel_purchase_requisition.yml
addons/purchase_requisition/test/purchase_requisition.yml
addons/purchase_requisition/test/purchase_requisition_demo.yml