[minor] enabled allow error traceback ins system settings
This commit is contained in:
parent
73e4bb5662
commit
a6fa154287
3 changed files with 17 additions and 1 deletions
|
|
@ -184,4 +184,5 @@ frappe.patches.v8_0.rename_print_to_printing
|
|||
frappe.patches.v7_1.disabled_print_settings_for_custom_print_format
|
||||
frappe.patches.v8_0.update_desktop_icons
|
||||
frappe.patches.v8_0.update_gender_and_salutation
|
||||
execute:frappe.db.sql('update tabReport set module="Desk" where name="ToDo"')
|
||||
execute:frappe.db.sql('update tabReport set module="Desk" where name="ToDo"')
|
||||
erpnext.patches.v8_1.enable_allow_error_traceback_in_system_settings
|
||||
|
|
|
|||
0
frappe/patches/v8_1/__init__.py
Normal file
0
frappe/patches/v8_1/__init__.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2017, Frappe and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
""" enable the allow_enable_traceback property in system settings """
|
||||
|
||||
frappe.reload_doc("core", "doctype", "system_settings")
|
||||
doc = frappe.get_doc("System Settings", "System Settings")
|
||||
doc.allow_error_traceback = 1
|
||||
doc.flags.ignore_permissions=True
|
||||
doc.flags.ignore_mandatory=True
|
||||
doc.save()
|
||||
Loading…
Add table
Reference in a new issue