Add Delivery Settings + improve 'Notify Customers' functionality (#15322)

* Add Delivery Settings + improve 'Notify Customers' functionality

* Minor improvements

* Add patch to create a default dispatch notification template

* Fix travis errors
This commit is contained in:
Alchez
2018-09-30 21:38:47 +05:30
committed by Rushabh Mehta
parent 4fd7a4e0d7
commit 6ecb2556b7
17 changed files with 641 additions and 339 deletions

View File

@@ -55,6 +55,10 @@ def set_default_settings(args):
buying_settings.allow_multiple_items = 1
buying_settings.save()
delivery_settings = frappe.get_doc("Delivery Settings")
delivery_settings.dispatch_template = _("Dispatch Notification")
delivery_settings.save()
hr_settings = frappe.get_doc("HR Settings")
hr_settings.emp_created_by = "Naming Series"
hr_settings.leave_approval_notification_template = _("Leave Approval Notification")