mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-18 14:25:10 +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,
|
||||
"credit_in_account_currency": flt(payable_amount, precision),
|
||||
"party_type": '',
|
||||
"cost_center": self.cost_center
|
||||
})
|
||||
|
||||
journal_entry.set("accounts", accounts)
|
||||
|
||||
Reference in New Issue
Block a user