mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
fix(Payroll Entry): Set cost center for payroll payable account (#23223)
This commit is contained in:
@@ -290,6 +290,7 @@ class PayrollEntry(Document):
|
|||||||
"account": default_payroll_payable_account,
|
"account": default_payroll_payable_account,
|
||||||
"credit_in_account_currency": flt(payable_amount, precision),
|
"credit_in_account_currency": flt(payable_amount, precision),
|
||||||
"party_type": '',
|
"party_type": '',
|
||||||
|
"cost_center": self.cost_center
|
||||||
})
|
})
|
||||||
|
|
||||||
journal_entry.set("accounts", accounts)
|
journal_entry.set("accounts", accounts)
|
||||||
|
|||||||
Reference in New Issue
Block a user