Commit 67c2924f authored by Aurel's avatar Aurel

define start date on inventory group


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62c1afd5
...@@ -661,7 +661,8 @@ class TestERP5BankingMixin: ...@@ -661,7 +661,8 @@ class TestERP5BankingMixin:
inventory_group = self.cash_inventory_module.newContent(id=inventory_group_id, inventory_group = self.cash_inventory_module.newContent(id=inventory_group_id,
portal_type='Cash Inventory Group', portal_type='Cash Inventory Group',
source=None, source=None,
destination_value=destination) destination_value=destination,
start_date=DateTime())
setattr(self, inventory_group_id, inventory_group) setattr(self, inventory_group_id, inventory_group)
else: else:
inventory_group = getattr(self, inventory_group_id) inventory_group = getattr(self, inventory_group_id)
......
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