[fix] [issue] webnotes/erpnext#1191 - set expected delivery date in production order

This commit is contained in:
Akhilesh Darjee
2013-12-18 13:28:40 +05:30
parent d94bab0e1d
commit 2678ed181a
6 changed files with 74 additions and 52 deletions

View File

@@ -158,6 +158,10 @@ def set_defaults(args):
hr_settings.doc.emp_created_by = "Naming Series"
hr_settings.save()
email_settings = webnotes.bean("Email Settings")
email_settings.doc.send_print_in_body_and_attachment = 1
email_settings.save()
# control panel
cp = webnotes.doc("Control Panel", "Control Panel")
cp.company_name = args["company_name"]