ERPNext unable to save changes to Company info

I’m getting this error when I make updates to my company in the Company List part of ERPNext. I’m unable to save changes to the database because of it.
This is the error:

AttributeError: 'Company' object has no attribute 'default_payroll_payable_account'
Possible source of error: hrms (app)

App Versions

{
	"ecommerce_integrations": "1.20.0",
	"erpnext": "15.12.2",
	"erpnext_shipping": "14.1.2",
	"frappe": "15.13.0",
	"hrms": "15.11.1",
	"insights": "2.1.0",
	"nextcloud_integration": "0.0.1",
	"payments": "0.0.1",
	"print_designer": "1.0.0",
	"twilio_integration": "0.0.1"
}

Route

Form/Company/Trinity Metalworks

Traceback

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 110, in application
    response = frappe.api.handle(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/api/__init__.py", line 49, in handle
    data = endpoint(**arguments)
           ^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
    return frappe.handler.handle()
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/handler.py", line 49, in handle
    data = execute_cmd(cmd)
           ^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/__init__.py", line 1682, in call
    return fn(*args, **newargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/desk/form/save.py", line 39, in savedocs
    doc.save()
  File "apps/frappe/frappe/model/document.py", line 332, in save
    return self._save(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/model/document.py", line 368, in _save
    self.run_before_save_methods()
  File "apps/frappe/frappe/model/document.py", line 1069, in run_before_save_methods
    self.run_method("validate")
  File "apps/frappe/frappe/model/document.py", line 940, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/model/document.py", line 1300, in composer
    return composed(self, method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/model/document.py", line 1284, in runner
    add_to_return_value(self, f(self, method, *args, **kwargs))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/hrms/hrms/overrides/company.py", line 111, in validate_default_accounts
    if doc.default_payroll_payable_account:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Company' object has no attribute 'default_payroll_payable_account'

Request Data

{
	"type": "POST",
	"args": {
		"doc": "{\"name\":\"Trinity Metalworks\",\"owner\":\"Administrator\",\"creation\":\"2024-02-13 15:34:16.474574\",\"modified\":\"2024-02-13 15:34:45.541976\",\"modified_by\":\"Administrator\",\"docstatus\":0,\"idx\":0,\"company_name\":\"Trinity Metalworks\",\"abbr\":\"TM\",\"default_currency\":\"USD\",\"country\":\"United States\",\"is_group\":0,\"lft\":1,\"rgt\":2,\"old_parent\":\"\",\"create_chart_of_accounts_based_on\":\"Standard Template\",\"chart_of_accounts\":\"Standard with Numbers\",\"default_bank_account\":\"Bank Account - TM\",\"default_cash_account\":\"1110 - Cash - TM\",\"default_receivable_account\":\"1310 - Debtors - TM\",\"round_off_account\":\"5212 - Round Off - TM\",\"round_off_cost_center\":\"Main - TM\",\"write_off_account\":\"5218 - Write Off - TM\",\"exchange_gain_loss_account\":\"5219 - Exchange Gain/Loss - TM\",\"allow_account_creation_against_child_company\":0,\"default_payable_account\":\"2110 - Creditors - TM\",\"default_expense_account\":\"5111 - Cost of Goods Sold - TM\",\"default_income_account\":\"4110 - Sales - TM\",\"cost_center\":\"Main - TM\",\"book_advance_payments_in_separate_party_account\":0,\"auto_exchange_rate_revaluation\":0,\"auto_err_frequency\":\"Daily\",\"submit_err_jv\":0,\"accumulated_depreciation_account\":\"1780 - Accumulated Depreciation - TM\",\"depreciation_expense_account\":\"5203 - Depreciation - TM\",\"expenses_included_in_asset_valuation\":\"5112 - Expenses Included In Asset Valuation - TM\",\"disposal_account\":\"5220 - Gain/Loss on Asset Disposal - TM\",\"depreciation_cost_center\":\"Main - TM\",\"capital_work_in_progress_account\":\"1790 - CWIP Account - TM\",\"asset_received_but_not_billed\":\"2211 - Asset Received But Not Billed - TM\",\"sales_monthly_history\":\"{}\",\"monthly_sales_target\":0,\"total_monthly_sales\":0,\"credit_limit\":0,\"transactions_annual_history\":\"{}\",\"enable_perpetual_inventory\":1,\"enable_provisional_accounting_for_non_stock_items\":0,\"default_inventory_account\":\"1410 - Stock In Hand - TM\",\"stock_adjustment_account\":\"5119 - Stock Adjustment - TM\",\"stock_received_but_not_billed\":\"2210 - Stock Received But Not Billed - TM\",\"expenses_included_in_valuation\":\"5118 - Expenses Included In Valuation - TM\",\"doctype\":\"Company\",\"__onload\":{\"addr_list\":[],\"contact_list\":[]},\"tax_id\":\"87-4224344\",\"__unsaved\":1}",
		"action": "Save"
	},
	"btn": {
		"jQuery370079375905830773261": {
			"events": {
				"click": [
					{
						"type": "click",
						"origType": "click",
						"guid": 31346,
						"namespace": ""
					}
				]
			}
		}
	},
	"freeze": true,
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.desk.form.save.savedocs",
	"request_id": null
}

Response Data

{
	"exception": "AttributeError: 'Company' object has no attribute 'default_payroll_payable_account'",
	"exc_type": "AttributeError",
	"_exc_source": "hrms (app)"
}

I have the same problem. Have you solved it?