fix: can't multiply sequence by non-int of type 'float'
This commit is contained in:
parent
7366b5d3eb
commit
94c145f3c3
@ -110,7 +110,7 @@ def get_item_details(args, doc=None, for_validate=False, overwrite_warehouse=Tru
|
||||
get_gross_profit(out)
|
||||
if args.doctype == 'Material Request':
|
||||
out.rate = args.rate or out.price_list_rate
|
||||
out.amount = flt(args.qty * out.rate)
|
||||
out.amount = flt(args.qty) * flt(out.rate)
|
||||
|
||||
return out
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user