Commit f98985af authored by Jérome Perrin's avatar Jérome Perrin

Expand from both order rule and delivery rule (for lines added on packing list)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4329 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3bd82674
......@@ -67,7 +67,8 @@ class InvoicingRule(Rule):
parent = movement.getParent()
result = 0
if (parent.getPortalType() == 'Applied Rule') and \
(parent.getSpecialiseId() == 'default_order_rule'):
(parent.getSpecialiseId() in ('default_order_rule',
'default_delivery_rule' )):
result = 1
return result
......
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