From b2f8b610fc8084c490d3a09128d56931fcbb1687 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 19 Nov 2024 12:29:56 +0100 Subject: [PATCH] fix: field read only property on taxes net_amount --- .../advance_taxes_and_charges/advance_taxes_and_charges.json | 3 ++- .../purchase_taxes_and_charges/purchase_taxes_and_charges.json | 3 ++- .../sales_taxes_and_charges/sales_taxes_and_charges.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/doctype/advance_taxes_and_charges/advance_taxes_and_charges.json b/erpnext/accounts/doctype/advance_taxes_and_charges/advance_taxes_and_charges.json index 8c07bf2eb47..d4d49abca8e 100644 --- a/erpnext/accounts/doctype/advance_taxes_and_charges/advance_taxes_and_charges.json +++ b/erpnext/accounts/doctype/advance_taxes_and_charges/advance_taxes_and_charges.json @@ -183,7 +183,8 @@ "fieldtype": "Currency", "in_list_view": 1, "label": "Net Amount", - "options": "currency" + "options": "currency", + "read_only": 1 }, { "fieldname": "base_net_amount", diff --git a/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json b/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json index 270f02eb1a4..66b36eca2e2 100644 --- a/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json +++ b/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json @@ -244,7 +244,8 @@ "label": "Net Amount", "oldfieldname": "tax_amount", "oldfieldtype": "Currency", - "options": "currency" + "options": "currency", + "read_only": 1 }, { "fieldname": "base_net_amount", diff --git a/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json b/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json index cc5670c04cb..182fe329ec7 100644 --- a/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json +++ b/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json @@ -221,7 +221,8 @@ "fieldtype": "Currency", "in_list_view": 1, "label": "Net Amount", - "options": "currency" + "options": "currency", + "read_only": 1 }, { "fieldname": "base_net_amount",