hrms icon indicating copy to clipboard operation
hrms copied to clipboard

Payroll Payable Account validation can be removed

Open vorasmit opened this issue 11 months ago • 2 comments

Is your feature request related to a problem? Please describe.

https://github.com/frappe/hrms/blob/9b80004bfebddcfe7d1ec6dec623622399309ec3/hrms/payroll/doctype/payroll_entry/payroll_entry.py#L45

It could be useful to keep the account type as Payable for Payroll Entries where employee-wise entries are created.

Benefits:

  • Ability to create payment entries instead of Journal entries for payment
  • Useful for Bank Integrations
  • Can make use of Trial Balance by Party for net payables

Describe the solution you'd like

Currently, we don't allow this is probably because we are already using reference type and reference name from Journal Entry to link it with Payroll entry.

This referencing can be moved to Payroll Entry.

This will then open the option to keep Payroll Entry as a Payable account.

Is it possible to have multiple Journal Entries (for Salary Payable) against a Payroll Entry?

Describe the alternatives you've considered

No response

Additional context

No response

vorasmit avatar Mar 01 '24 11:03 vorasmit

https://github.com/frappe/hrms/blob/9b80004bfebddcfe7d1ec6dec623622399309ec3/hrms/payroll/doctype/payroll_entry/payroll_entry.py#L45

It could be useful to keep the account type as Payable for Payroll Entries where employee-wise entries are created.

@vorasmit which validation are you talking about?

ruchamahabal avatar Mar 04 '24 14:03 ruchamahabal

'validate_payroll_payable_account(self)'

vorasmit avatar Mar 04 '24 14:03 vorasmit