added allow_rename and also fix in autonotification

This commit is contained in:
Rushabh Mehta
2012-12-03 11:33:08 +05:30
parent 08a437bad7
commit 833f070991
14 changed files with 1862 additions and 2178 deletions

View File

@@ -220,6 +220,6 @@ cur_frm.pformat.indent_no = function(doc, cdt, cdn){
cur_frm.cscript.on_submit = function(doc, cdt, cdn) {
if(cint(wn.boot.notification_settings.purchase_order)) {
cur_frm.email_doc(wn.boot.notification_settings.purchase_order);
cur_frm.email_doc(wn.boot.notification_settings.purchase_order_message);
}
}

View File

@@ -2,17 +2,19 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-11-02 17:17:04",
"creation": "2012-12-03 10:31:02",
"modified_by": "Administrator",
"modified": "2012-11-30 10:53:32"
"modified": "2012-12-03 11:25:12"
},
{
"autoname": "naming_series:",
"name": "__common__",
"description": "Supplier of Goods or Services.",
"allow_rename": 1,
"search_fields": "supplier_name,supplier_type",
"module": "Buying",
"doctype": "DocType",
"document_type": "Master"
"document_type": "Master",
"name": "__common__"
},
{
"name": "__common__",
@@ -243,6 +245,26 @@
"fieldtype": "Small Text",
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "Purchase Master Manager",
@@ -257,25 +279,5 @@
"role": "Purchase Master Manager",
"cancel": 1,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 0
}
]