fix(Payroll Entry): Set cost center for payroll payable account (#23223)

This commit is contained in:
Rucha Mahabal
2020-08-31 20:09:48 +05:30
committed by GitHub
parent 3bf5820236
commit b574353c00

View File

@@ -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)