Commit 94db4215 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_trade: use new getAggregatedAmountList API in Base_getSpecialisedAggregatedAmountList.

parent 9f1b0df3
Pipeline #13259 failed with stage
in 0 seconds
specialise = context.getSpecialiseValue(portal_type=('Purchase Trade Condition',
'Sale Trade Condition',
'Internal Trade Condition',))
if specialise is not None:
rounding = kwargs.get('rounding', False)
return specialise.getAggregatedAmountList(context, rounding=rounding)
return []
rounding = kwargs.get('rounding', False)
return context.getAggregatedAmountList(rounding=rounding)
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