ソースを参照

Merge pull request #12381 from hasnain2808/aloow-on-submit

fix: allow on submit for child table not working
version-14
mergify[bot] 4年前
committed by GitHub
コミット
4ee1e0f1e6
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      frappe/public/js/frappe/form/controls/base_control.js

+ 1
- 1
frappe/public/js/frappe/form/controls/base_control.js ファイルの表示

@@ -74,7 +74,7 @@ frappe.ui.form.Control = Class.extend({
frappe.model.get_doc(this.doctype, this.docname), this.perm || (this.frm && this.frm.perm), explain);

// Match parent grid controls read only status
if (status === 'Write' && (this.grid || (this.layout && this.layout.grid))) {
if (status === 'Write' && (this.grid || (this.layout && this.layout.grid) && !cint(this.df.allow_on_submit))) {
var grid = this.grid || this.layout.grid;
if (grid.display_status == 'Read') {
status = 'Read';


読み込み中…
キャンセル
保存