From 000cd0fbfa3e8fd268486574c7a64732575001bc Mon Sep 17 00:00:00 2001 From: muruthigitau Date: Mon, 11 Nov 2024 15:38:47 +0300 Subject: [PATCH 1/2] feat: no copy meter readings --- utility_billing/fixtures/custom_field.json | 8 ++++---- .../doctype/meter_reading/meter_reading.json | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/utility_billing/fixtures/custom_field.json b/utility_billing/fixtures/custom_field.json index 53cb36d..492d1ef 100644 --- a/utility_billing/fixtures/custom_field.json +++ b/utility_billing/fixtures/custom_field.json @@ -375,10 +375,10 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2024-10-25 07:25:46.511145", + "modified": "2024-11-11 14:29:23.567029", "module": "Utility Billing", "name": "Sales Order-custom_sales_order_meter_reading", - "no_copy": 0, + "no_copy": 1, "non_negative": 0, "options": "Sales Order Meter Reading", "permlevel": 0, @@ -489,10 +489,10 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2024-11-06 07:20:54.451309", + "modified": "2024-11-11 14:29:12.256558", "module": "Utility Billing", "name": "Sales Invoice-custom_sales_invoice_meter_reading", - "no_copy": 0, + "no_copy": 1, "non_negative": 0, "options": "Sales Invoice Meter Reading", "permlevel": 0, diff --git a/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json b/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json index f20ffc9..9a2dd1c 100644 --- a/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json +++ b/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json @@ -120,6 +120,7 @@ "fieldname": "rates", "fieldtype": "Table", "label": "Rates", + "no_copy": 1, "options": "Meter Reading Tariff Rate", "read_only": 1 }, @@ -143,7 +144,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-11-06 06:12:10.394176", + "modified": "2024-11-11 14:30:07.566066", "modified_by": "Administrator", "module": "Utility Billing", "name": "Meter Reading", From 49eebb9ee91b31135942c03976c6326c0bb92f84 Mon Sep 17 00:00:00 2001 From: muruthigitau Date: Mon, 11 Nov 2024 15:41:59 +0300 Subject: [PATCH 2/2] feat: Data Import --- .../utility_billing/doctype/meter_reading/meter_reading.json | 3 ++- .../utility_service_request/utility_service_request.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json b/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json index 9a2dd1c..5f8d42e 100644 --- a/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json +++ b/utility_billing/utility_billing/doctype/meter_reading/meter_reading.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "naming_series:", "creation": "2024-10-02 20:10:40.513570", @@ -144,7 +145,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-11-11 14:30:07.566066", + "modified": "2024-11-11 14:40:31.793069", "modified_by": "Administrator", "module": "Utility Billing", "name": "Meter Reading", diff --git a/utility_billing/utility_billing/doctype/utility_service_request/utility_service_request.json b/utility_billing/utility_billing/doctype/utility_service_request/utility_service_request.json index 2b83897..2f1538a 100644 --- a/utility_billing/utility_billing/doctype/utility_service_request/utility_service_request.json +++ b/utility_billing/utility_billing/doctype/utility_service_request/utility_service_request.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "naming_series:", "creation": "2024-10-08 16:29:52.921205", @@ -425,7 +426,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-11-06 16:42:41.258215", + "modified": "2024-11-11 14:41:13.705665", "modified_by": "Administrator", "module": "Utility Billing", "name": "Utility Service Request",