diff --git a/js/legacy/widgets/form/form.js b/js/legacy/widgets/form/form.js index ea74e75c58..715f1850bc 100644 --- a/js/legacy/widgets/form/form.js +++ b/js/legacy/widgets/form/form.js @@ -274,6 +274,7 @@ _f.Frm.prototype.set_heading = function() { _f.Frm.prototype.setup_meta = function() { this.meta = get_local('DocType',this.doctype); this.perm = get_perm(this.doctype); // for create + if(this.meta.istable) { this.meta.in_dialog = 1 } this.setup_print(); }