Commit 08345bb8 authored by Sebastien Robin's avatar Sebastien Robin

make sure the inventory is delivered


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8627 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4caea95d
......@@ -745,6 +745,9 @@ class TestERP5BankingMixin:
line['variation_id'],
line['variation_value'],
line['quantity'],)
# deliver the inventory
if inventory.getSimulationState()!='delivered':
inventory.deliver()
return inventory_group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment