Commit 80050e4f authored by Jérome Perrin's avatar Jérome Perrin

mistake in r14224



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14242 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d791c743
......@@ -165,7 +165,8 @@ class TestInvoice(TestPackingListMixin,
def stepCreateSaleInvoiceTransactionRule(self, sequence, **kw) :
"""Create the rule for accounting. """
portal = self.getPortal() account_module = self.getAccountModule()
portal = self.getPortal()
account_module = self.getAccountModule()
for account_id, account_gap in self.account_definition_list:
if not account_id in account_module.objectIds():
account = account_module.newContent(id=account_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