diff --git a/frappe/__init__.py b/frappe/__init__.py index f0b5352f22..4155af80a0 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json from .exceptions import * from .utils.jinja import get_jenv, get_template, render_template -__version__ = '7.2.6' +__version__ = '7.2.7' __title__ = "Frappe Framework" local = Local() diff --git a/frappe/public/js/legacy/form.js b/frappe/public/js/legacy/form.js index 54b70986f5..25930348b3 100644 --- a/frappe/public/js/legacy/form.js +++ b/frappe/public/js/legacy/form.js @@ -347,6 +347,7 @@ _f.Frm.prototype.refresh_header = function(is_a_different_doc) { this.dashboard.refresh(); if(this.meta.is_submittable && + frappe.perm.get_perm(this.docname, this.doc).submit && ! this.is_dirty() && ! this.is_new() && this.doc.docstatus===0) {