Merge branch 'master' into develop
This commit is contained in:
commit
f67b5e3b32
2 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue