09.02.26
This commit is contained in:
@@ -462,6 +462,8 @@ class Fee(ModelSQL,ModelView):
|
|||||||
if fee.mode == 'lumpsum':
|
if fee.mode == 'lumpsum':
|
||||||
pl.quantity = 1
|
pl.quantity = 1
|
||||||
pl.unit_price = round(Decimal(fee.amount),4)
|
pl.unit_price = round(Decimal(fee.amount),4)
|
||||||
|
elif fee.mode == 'ppack':
|
||||||
|
pl.unit_price = fee.price
|
||||||
p = Purchase()
|
p = Purchase()
|
||||||
p.lines = [pl]
|
p.lines = [pl]
|
||||||
p.party = fee.supplier
|
p.party = fee.supplier
|
||||||
|
|||||||
Reference in New Issue
Block a user