fix: hiding Rounding Adjustment field (#25380)

* fix: hiding Rounding Adjustment field

* fix: updating purchase_invoice.json
This commit is contained in:
Anupam Kumar
2021-06-09 12:57:21 +05:30
committed by GitHub
parent 9a282aa593
commit 21b8e2f0d8
4 changed files with 12 additions and 4 deletions

View File

@@ -837,6 +837,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "base_rounding_adjustment", "fieldname": "base_rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment (Company Currency)", "label": "Rounding Adjustment (Company Currency)",
@@ -883,6 +884,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "rounding_adjustment", "fieldname": "rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment", "label": "Rounding Adjustment",
@@ -1380,7 +1382,7 @@
"idx": 204, "idx": 204,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2021-04-30 22:45:58.334107", "modified": "2021-06-09 12:30:25.632109",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice", "name": "Purchase Invoice",

View File

@@ -765,6 +765,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "base_rounding_adjustment", "fieldname": "base_rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment (Company Currency)", "label": "Rounding Adjustment (Company Currency)",
@@ -810,6 +811,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "rounding_adjustment", "fieldname": "rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment", "label": "Rounding Adjustment",
@@ -1124,7 +1126,7 @@
"idx": 105, "idx": 105,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2021-01-20 22:07:23.487138", "modified": "2021-04-19 00:55:30.781375",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",

View File

@@ -576,6 +576,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "base_rounding_adjustment", "fieldname": "base_rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment (Company Currency", "label": "Rounding Adjustment (Company Currency",
@@ -620,6 +621,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "rounding_adjustment", "fieldname": "rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment", "label": "Rounding Adjustment",
@@ -802,7 +804,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2020-12-03 15:18:29.073368", "modified": "2021-04-19 00:58:20.995491",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Supplier Quotation", "name": "Supplier Quotation",

View File

@@ -762,6 +762,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "base_rounding_adjustment", "fieldname": "base_rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment (Company Currency)", "label": "Rounding Adjustment (Company Currency)",
@@ -805,6 +806,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.disable_rounded_total",
"fieldname": "rounding_adjustment", "fieldname": "rounding_adjustment",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rounding Adjustment", "label": "Rounding Adjustment",
@@ -1147,7 +1149,7 @@
"idx": 261, "idx": 261,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2020-12-26 20:49:39.106049", "modified": "2021-04-19 01:01:00.754119",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Purchase Receipt", "name": "Purchase Receipt",