mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #51419 from mihir-kandoi/actual-qty-mat-rcpt
This commit is contained in:
@@ -201,7 +201,7 @@ class StockEntry(StockController, SubcontractingInwardController):
|
|||||||
|
|
||||||
def onload(self):
|
def onload(self):
|
||||||
for item in self.get("items"):
|
for item in self.get("items"):
|
||||||
item.update(get_bin_details(item.item_code, item.s_warehouse))
|
item.update(get_bin_details(item.item_code, item.s_warehouse or item.t_warehouse))
|
||||||
|
|
||||||
def before_insert(self):
|
def before_insert(self):
|
||||||
if self.subcontracting_order and frappe.get_cached_value(
|
if self.subcontracting_order and frappe.get_cached_value(
|
||||||
|
|||||||
Reference in New Issue
Block a user