Commit b5dd91d6 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_accounting: business process 7 use same test script

parent f40e36dd
...@@ -7,7 +7,8 @@ if parent.getPortalType() != 'Applied Rule': ...@@ -7,7 +7,8 @@ if parent.getPortalType() != 'Applied Rule':
if parent.getSpecialiseReference() != 'default_invoice_transaction_rule': if parent.getSpecialiseReference() != 'default_invoice_transaction_rule':
return False return False
if parent.getParentValue().getDestination() != 'person_module/100': # For shop sale
if 'business_process_module/5/accounting_credit_path' in movement.getCausalityList() and parent.getParentValue().getDestination() != 'person_module/100':
return False return False
# XXX hardcoded # XXX hardcoded
......
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