Success Action (#13666)

* success action config for  sales invoice

* remove "Notification Control" doctype and its usage

* add default success action after_install or while migration (patch)

* rename for_doctype to ref_doctype

* case change

* minor fix

* Remove unnecessary code

* Replace message with translatable message

* Fix 'cannot import error'
This commit is contained in:
Suraj Shetty
2018-05-03 19:06:32 +05:30
committed by Nabin Hait
parent 1aa3a11546
commit 00cced12a0
21 changed files with 46 additions and 675 deletions

View File

@@ -25,9 +25,6 @@ def boot_session(bootinfo):
bootinfo.sysdefaults.quotation_valid_till = cint(frappe.db.get_single_value('Selling Settings',
'default_valid_till'))
bootinfo.notification_settings = frappe.get_doc("Notification Control",
"Notification Control")
# if no company, show a dialog box to create a new company
bootinfo.customer_count = frappe.db.sql("""select count(*) from tabCustomer""")[0][0]