Merge pull request #51419 from mihir-kandoi/actual-qty-mat-rcpt

This commit is contained in:
Mihir Kandoi
2025-12-31 18:07:45 +05:30
committed by GitHub

View File

@@ -201,7 +201,7 @@ class StockEntry(StockController, SubcontractingInwardController):
def onload(self):
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):
if self.subcontracting_order and frappe.get_cached_value(