Fixes in fetching valuation rate in stock entry
This commit is contained in:
parent
d5a4c871f2
commit
cea571fc31
@ -221,7 +221,7 @@ class StockEntry(StockController):
|
||||
if not d.bom_no:
|
||||
if not flt(d.incoming_rate) or d.s_warehouse or self.purpose == "Sales Return":
|
||||
incoming_rate = self.get_incoming_rate(args)
|
||||
if incoming_rate:
|
||||
if flt(incoming_rate) > 0:
|
||||
d.incoming_rate = incoming_rate
|
||||
|
||||
d.amount = flt(d.transfer_qty) * flt(d.incoming_rate)
|
||||
|
Loading…
x
Reference in New Issue
Block a user