Company Creation Error

Hello everyone,
I am trying to create a new company, when I try to save the company I am faced with no error message, however looking at the error logs on a local development instance, I got the following error:

App Versions

	"erpnext": "15.6.1",
	"frappe": "15.5.0",
	"hrms": "15.6.0",
	"payments": "0.0.1"




Traceback (most recent call last):
  File "apps/frappe/frappe/", line 110, in application
    response = frappe.api.handle(request)
  File "apps/frappe/frappe/api/", line 49, in handle
    data = endpoint(**arguments)
  File "apps/frappe/frappe/api/", line 36, in handle_rpc_call
    return frappe.handler.handle()
  File "apps/frappe/frappe/", line 49, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/", line 85, in execute_cmd
    return, **frappe.form_dict)
  File "apps/frappe/frappe/", line 1715, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/utils/", line 31, in wrapper
    return func(*args, **kwargs)
  File "apps/frappe/frappe/desk/form/", line 39, in savedocs
  File "apps/frappe/frappe/model/", line 334, in save
    return self._save(*args, **kwargs)
  File "apps/frappe/frappe/model/", line 356, in _save
    return self.insert()
  File "apps/frappe/frappe/model/", line 286, in insert
  File "apps/frappe/frappe/model/", line 1081, in run_before_save_methods
  File "apps/frappe/frappe/model/", line 950, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "apps/frappe/frappe/model/", line 1316, in composer
    return composed(self, method, *args, **kwargs)
  File "apps/frappe/frappe/model/", line 1300, in runner
    add_to_return_value(self, f(self, method, *args, **kwargs))
  File "apps/hrms/hrms/overrides/", 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": "{\*******************************\}",
		"action": "Save"
	"btn": {
		"jQuery370062886221189893271": {
			"events": {
				"click": [
						"type": "click",
						"origType": "click",
						"guid": 1286,
						"namespace": ""
	"freeze": true,
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/",
	"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 tried the same thing on different versions and I faced the same problem but it only happens when i try to create the company using a specific erp system backup when i try to create company on a different erp instance for another business, I can create a company with no issues, If anyone faced this problem before, please guide me on where to look.
Thanks in advance.

Experiencing a similar issue, any suggestions for a solution?