App Versions
{
"erpnext": "14.2.1",
"frappe": "14.9.0",
"hrms": "1.0.0",
"india_compliance": "0.0.1",
"payments": "0.0.1"
}
Route
Form/System Settings/System Settings
Trackeback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 69, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 45, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1585, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/desk/form/save.py", line 23, in savedocs
doc.save()
File "apps/frappe/frappe/model/document.py", line 301, in save
return self._save(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 335, in _save
self.run_before_save_methods()
File "apps/frappe/frappe/model/document.py", line 1056, in run_before_save_methods
self.run_method("validate")
File "apps/frappe/frappe/model/document.py", line 928, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1268, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1250, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 925, in fn
return method_object(*args, **kwargs)
File "apps/frappe/frappe/core/doctype/system_settings/system_settings.py", line 46, in validate
self.validate_user_pass_login()
File "apps/frappe/frappe/core/doctype/system_settings/system_settings.py", line 49, in validate_user_pass_login
if not self.disable_user_pass_login:
AttributeError: 'SystemSettings' object has no attribute 'disable_user_pass_login'
Request Data
{
"type": "POST",
"args": {
"doc": "{\"name\":\"System Settings\",\"owner\":\"Administrator\",\"modified\":\"2022-10-13 16:07:48.647762\",\"modified_by\":\"Administrator\",\"docstatus\":0,\"idx\":\"0\",\"app_name\":\"Frappe\",\"country\":\"India\",\"language\":\"en-US\",\"time_zone\":\"Asia/Kolkata\",\"enable_onboarding\":1,\"setup_complete\":1,\"date_format\":\"dd-mm-yyyy\",\"time_format\":\"HH:mm:ss\",\"number_format\":\"#,##,###.##\",\"float_precision\":\"3\",\"currency_precision\":\"\",\"first_day_of_the_week\":\"Sunday\",\"backup_limit\":10,\"encrypt_backup\":0,\"enable_scheduler\":1,\"dormant_days\":4,\"apply_strict_user_permissions\":0,\"allow_guests_to_upload_files\":0,\"session_expiry\":\"06:00\",\"session_expiry_mobile\":\"720:00\",\"document_share_key_expiry\":30,\"deny_multiple_sessions\":0,\"allow_login_using_mobile_number\":0,\"allow_login_using_user_name\":0,\"allow_error_traceback\":1,\"strip_exif_metadata_from_uploaded_images\":1,\"allow_older_web_view_links\":1,\"logout_on_password_reset\":\"*****\",\"force_user_to_reset_password\":0,\"password_reset_limit\":\"*****\",\"enable_password_policy\":\"*****\",\"minimum_password_score\":\"*****\",\"allow_consecutive_login_attempts\":0,\"allow_login_after_fail\":60,\"enable_two_factor_auth\":0,\"bypass_2fa_for_retricted_ip_users\":0,\"bypass_restrict_ip_check_if_2fa_enabled\":0,\"two_factor_method\":\"OTP App\",\"lifespan_qrcode_image\":0,\"otp_issuer_name\":\"Frappe Framework\",\"email_retry_limit\":0,\"disable_standard_email_footer\":0,\"hide_footer_in_auto_email_reports\":0,\"attach_view_link\":1,\"enable_prepared_report_auto_deletion\":1,\"prepared_report_expiry_period\":30,\"max_auto_email_report_per_user\":20,\"disable_system_update_notification\":0,\"disable_change_log_notification\":0,\"doctype\":\"System Settings\",\"__last_sync_on\":\"2022-10-29T06:56:02.100Z\",\"__unsaved\":1}",
"action": "Save"
},
"btn": {
"jQuery360087809875198567071": {
"events": {
"click": [
{
"type": "click",
"origType": "click",
"guid": 342,
"namespace": ""
}
]
}
}
},
"freeze": true,
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.desk.form.save.savedocs"
}
Response Data
{
"exception": "AttributeError: 'SystemSettings' object has no attribute 'disable_user_pass_login'"
}