mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 00:28:30 +00:00
[hotfix] set the account name in GL entry instead of warehouse (#10134)
This commit is contained in:
@@ -225,7 +225,7 @@ class PurchaseReceipt(BuyingController):
|
||||
# sub-contracting warehouse
|
||||
if flt(d.rm_supp_cost) and warehouse_account.get(self.supplier_warehouse):
|
||||
gl_entries.append(self.get_gl_dict({
|
||||
"account": warehouse_account[self.supplier_warehouse]["name"],
|
||||
"account": warehouse_account[self.supplier_warehouse]["account"],
|
||||
"against": warehouse_account[d.warehouse]["account"],
|
||||
"cost_center": d.cost_center,
|
||||
"remarks": self.get("remarks") or _("Accounting Entry for Stock"),
|
||||
|
||||
Reference in New Issue
Block a user