committed by
Mergify
parent
da17496e3d
commit
2f839fbf6d
@@ -860,6 +860,9 @@ def get_price_list_rate(args, item_doc, out=None):
|
|||||||
if args.price_list and args.rate:
|
if args.price_list and args.rate:
|
||||||
insert_item_price(args)
|
insert_item_price(args)
|
||||||
|
|
||||||
|
if not price_list_rate:
|
||||||
|
return out
|
||||||
|
|
||||||
out.price_list_rate = (
|
out.price_list_rate = (
|
||||||
flt(price_list_rate) * flt(args.plc_conversion_rate) / flt(args.conversion_rate)
|
flt(price_list_rate) * flt(args.plc_conversion_rate) / flt(args.conversion_rate)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user