mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-29 14:48:26 +00:00
rename Profile to User frappe/frappe#470
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-01-10 16:34:30",
|
||||
"docstatus": 0,
|
||||
"modified": "2014-01-20 17:48:34",
|
||||
"modified": "2014-01-20 17:48:35",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "harshada@webnotestech.com"
|
||||
},
|
||||
@@ -250,7 +250,7 @@
|
||||
"no_copy": 1,
|
||||
"oldfieldname": "resolved_by",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Profile",
|
||||
"options": "User",
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ cur_frm.cscript.onload = function(doc) {
|
||||
cur_frm.cscript.refresh = function(doc) {
|
||||
erpnext.hide_naming_series();
|
||||
if(!doc.__islocal && !cint(doc.email_sent) && !doc.__unsaved
|
||||
&& inList(frappe.boot.profile.can_write, doc.doctype)) {
|
||||
&& inList(frappe.boot.user.can_write, doc.doctype)) {
|
||||
cur_frm.add_custom_button(frappe._('Send'), function() {
|
||||
return $c_obj(make_doclist(doc.doctype, doc.name), 'send_emails', '', function(r) {
|
||||
cur_frm.refresh();
|
||||
|
||||
Reference in New Issue
Block a user