mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
added Follow Via Email
This commit is contained in:
@@ -185,7 +185,7 @@ class DocType(DocListController):
|
|||||||
args = webnotes._dict(args)
|
args = webnotes._dict(args)
|
||||||
from utilities.page.messages.messages import post
|
from utilities.page.messages.messages import post
|
||||||
post({"txt": args.message, "contact": args.message_to, "subject": args.subject,
|
post({"txt": args.message, "contact": args.message_to, "subject": args.subject,
|
||||||
"notify": True})
|
"notify": cint(self.doc.follow_via_email)})
|
||||||
|
|
||||||
@webnotes.whitelist()
|
@webnotes.whitelist()
|
||||||
def get_leave_balance(employee, leave_type, fiscal_year):
|
def get_leave_balance(employee, leave_type, fiscal_year):
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-02-18 18:37:56",
|
"creation": "2013-02-18 18:37:56",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-02-19 15:21:03",
|
"modified": "2013-02-19 16:30:05",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@@ -159,6 +159,16 @@
|
|||||||
"label": "More Info",
|
"label": "More Info",
|
||||||
"permlevel": 0
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"allow_on_submit": 1,
|
||||||
|
"default": "1",
|
||||||
|
"doctype": "DocField",
|
||||||
|
"fieldname": "follow_via_email",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Follow via Email",
|
||||||
|
"permlevel": 0,
|
||||||
|
"print_hide": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"default": "Today",
|
"default": "Today",
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
@@ -181,6 +191,12 @@
|
|||||||
"reqd": 1,
|
"reqd": 1,
|
||||||
"search_index": 0
|
"search_index": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
|
"fieldname": "column_break_17",
|
||||||
|
"fieldtype": "Column Break",
|
||||||
|
"permlevel": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "company",
|
"fieldname": "company",
|
||||||
|
|||||||
Reference in New Issue
Block a user