Merge pull request #2177 from anandpdoshi/anand-september-11
[fix] transfer_qty in get_stock_and_rate
This commit is contained in:
commit
eee569bb20
@ -217,6 +217,8 @@ class StockEntry(StockController):
|
|||||||
allow_negative_stock = cint(frappe.db.get_default("allow_negative_stock"))
|
allow_negative_stock = cint(frappe.db.get_default("allow_negative_stock"))
|
||||||
|
|
||||||
for d in self.get('mtn_details'):
|
for d in self.get('mtn_details'):
|
||||||
|
d.transfer_qty = flt(d.transfer_qty)
|
||||||
|
|
||||||
args = frappe._dict({
|
args = frappe._dict({
|
||||||
"item_code": d.item_code,
|
"item_code": d.item_code,
|
||||||
"warehouse": d.s_warehouse or d.t_warehouse,
|
"warehouse": d.s_warehouse or d.t_warehouse,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user