Commit 5073f7a9 authored by Julien Muchembled's avatar Julien Muchembled

Invoice Rule: do not drop specialise links to orders

parent ff04daef
......@@ -105,7 +105,7 @@ class InvoicingRuleMovementGenerator(MovementGeneratorMixin):
specialise_list = [x.getRelativeUrl()
for x in input_movement.getSpecialiseValueList()
if x.providesIBusinessProcess() or
x.getPortalType().endswith('Trade Condition')]
x.isInternalType() or x.isPurchaseType() or x.isSaleType()]
return {'delivery': None, 'specialise': specialise_list}
def _getInputMovementList(self, movement_list=None, rounding=None):
......
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