Merge pull request #49243 from aerele/transaction-cumulative

fix: hide is_cumulative for apply_on is set to Transaction
This commit is contained in:
rohitwaghchaure
2025-08-20 22:54:32 +05:30
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -174,6 +174,7 @@
}, },
{ {
"default": "0", "default": "0",
"depends_on": "eval:doc.apply_on != 'Transaction'",
"fieldname": "is_cumulative", "fieldname": "is_cumulative",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Is Cumulative" "label": "Is Cumulative"
@@ -656,7 +657,7 @@
"icon": "fa fa-gift", "icon": "fa fa-gift",
"idx": 1, "idx": 1,
"links": [], "links": [],
"modified": "2025-02-17 18:15:39.824639", "modified": "2025-08-20 11:40:07.096854",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Pricing Rule", "name": "Pricing Rule",

View File

@@ -93,12 +93,14 @@
}, },
{ {
"default": "0", "default": "0",
"depends_on": "eval:doc.apply_on != 'Transaction'",
"fieldname": "mixed_conditions", "fieldname": "mixed_conditions",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Mixed Conditions" "label": "Mixed Conditions"
}, },
{ {
"default": "0", "default": "0",
"depends_on": "eval:doc.apply_on != 'Transaction'",
"fieldname": "is_cumulative", "fieldname": "is_cumulative",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Is Cumulative" "label": "Is Cumulative"
@@ -278,7 +280,7 @@
} }
], ],
"links": [], "links": [],
"modified": "2024-03-27 13:10:22.103686", "modified": "2025-08-20 11:48:23.231081",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Promotional Scheme", "name": "Promotional Scheme",