From 5eaff20dd1e28879072e987417982d77d0b280cb Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 2 Jan 2013 14:19:52 +0530 Subject: [PATCH 1/2] added comma in latest updates --- home/page/latest_updates/latest_updates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/page/latest_updates/latest_updates.js b/home/page/latest_updates/latest_updates.js index abcb27ac45..99a4bf99c5 100644 --- a/home/page/latest_updates/latest_updates.js +++ b/home/page/latest_updates/latest_updates.js @@ -5,7 +5,7 @@ erpnext.updates = [ "General Ledger: Now, on filter of any account group, you will have an option to see \ the report grouped by ledgers under that group and with opening \ and closing balance for each of them." - ]] + ]], ["28th December 2012", [ "Workflow: Added System for Multi-level approval before Submission. \
See video at Date: Wed, 2 Jan 2013 14:47:06 +0530 Subject: [PATCH 2/2] fix in newsletter --- support/doctype/newsletter/newsletter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/doctype/newsletter/newsletter.js b/support/doctype/newsletter/newsletter.js index 0a3fbe81fb..69a55eff09 100644 --- a/support/doctype/newsletter/newsletter.js +++ b/support/doctype/newsletter/newsletter.js @@ -17,7 +17,7 @@ cur_frm.cscript.refresh = function(doc) { erpnext.hide_naming_series(); if(!doc.__islocal && !cint(doc.email_sent) && !doc.__unsaved - && inList(wn.boot.can_write, doc.doctype)) { + && inList(wn.boot.profile.can_write, doc.doctype)) { cur_frm.add_custom_button('Send', function() { $c_obj(make_doclist(doc.doctype, doc.name), 'send_emails', '', function(r) { cur_frm.refresh();