Commit 0f38a787 authored by Aurel's avatar Aurel

it is no longer needed to invalidate this rule, as now specialise

relation is copied 


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37573 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16ad2707
...@@ -51,9 +51,6 @@ class TestERP5SimulationMixin(TestInvoiceMixin): ...@@ -51,9 +51,6 @@ class TestERP5SimulationMixin(TestInvoiceMixin):
for rule in portal_rules.objectValues(portal_type='Order Root Simulation Rule'): for rule in portal_rules.objectValues(portal_type='Order Root Simulation Rule'):
if rule.getValidationState() == 'validated': if rule.getValidationState() == 'validated':
rule.invalidate() rule.invalidate()
for rule in portal_rules.objectValues(portal_type='Invoice Simulation Rule'):
if rule.getValidationState() == 'validated':
rule.invalidate()
self.validateNewRules() self.validateNewRules()
self.setUpBusinessProcess() self.setUpBusinessProcess()
......
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