Commit 3f5f94d0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

cleanup.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33109 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 63b03799
......@@ -510,8 +510,8 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
self.assertEquals(len(payment_rule.objectValues()), 0)
transaction.commit()
# and add new content, predicate
predicate_product_notebook = payment_rule.newContent(
# and add a new predicate
payment_rule.newContent(
id = 'all',
title = 'all',
portal_type = self.predicate_portal_type,
......@@ -523,8 +523,6 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
def stepUpdatePaymentRuleMatrix(self, sequence, **kw) :
"""Creates/updates the matrix of the sale invoice transaction rule """
payment_rule = sequence.get('payment_rule')
base_id = 'movement'
kwd = {'base_id': base_id}
# update the matrix, generates the accounting rule cells
payment_rule.edit()
......
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