CN/DN commission
This commit is contained in:
@@ -1915,8 +1915,11 @@ class Line(sequence_ordered(), ModelSQL, ModelView):
|
||||
|
||||
fee = fee[0]
|
||||
invoice_line.fee = fee
|
||||
fee.warn_percent_price_partial_lots()
|
||||
if fee.mode == 'lumpsum':
|
||||
invoice_line.quantity = 1
|
||||
elif fee.mode == 'pprice':
|
||||
invoice_line.quantity = 1
|
||||
elif fee.mode == 'ppack':
|
||||
invoice_line.quantity = fee.quantity
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user