From fb844920afa7a8c8e19ad781fae03af225becad6 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Thu, 21 Sep 2023 12:28:09 +0200 Subject: [PATCH] feat: Customer and Supplier - Primary Address and Contact on the same column as new adress and contact --- erpnext/buying/doctype/supplier/supplier.json | 13 +++++++--- .../selling/doctype/customer/customer.json | 25 +++++++++++-------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/erpnext/buying/doctype/supplier/supplier.json b/erpnext/buying/doctype/supplier/supplier.json index a07af7124e..19972ca1fa 100644 --- a/erpnext/buying/doctype/supplier/supplier.json +++ b/erpnext/buying/doctype/supplier/supplier.json @@ -45,12 +45,13 @@ "column_break1", "contact_html", "primary_address_and_contact_detail_section", - "supplier_primary_contact", - "mobile_no", - "email_id", "column_break_44", "supplier_primary_address", "primary_address", + "column_break_mglr", + "supplier_primary_contact", + "mobile_no", + "email_id", "accounting_tab", "payment_terms", "default_accounts_section", @@ -469,6 +470,10 @@ { "fieldname": "column_break_1mqv", "fieldtype": "Column Break" + }, + { + "fieldname": "column_break_mglr", + "fieldtype": "Column Break" } ], "icon": "fa fa-user", @@ -481,7 +486,7 @@ "link_fieldname": "party" } ], - "modified": "2023-06-26 14:20:00.961554", + "modified": "2023-09-21 12:24:20.398889", "modified_by": "Administrator", "module": "Buying", "name": "Supplier", diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json index be8f62f715..0f42def0bd 100644 --- a/erpnext/selling/doctype/customer/customer.json +++ b/erpnext/selling/doctype/customer/customer.json @@ -48,12 +48,13 @@ "column_break1", "contact_html", "primary_address_and_contact_detail", - "customer_primary_contact", - "mobile_no", - "email_id", "column_break_26", "customer_primary_address", "primary_address", + "column_break_nwor", + "customer_primary_contact", + "mobile_no", + "email_id", "tax_tab", "taxation_section", "tax_id", @@ -339,12 +340,12 @@ "label": "Default Accounts" }, { - "description": "Mention if non-standard Receivable account", - "fieldname": "accounts", - "fieldtype": "Table", - "label": "Accounts", - "options": "Party Account" - }, + "description": "Mention if non-standard Receivable account", + "fieldname": "accounts", + "fieldtype": "Table", + "label": "Accounts", + "options": "Party Account" + }, { "fieldname": "credit_limit_section", "fieldtype": "Section Break", @@ -568,6 +569,10 @@ "fieldtype": "Table", "label": "Customer Portal Users", "options": "Portal User" + }, + { + "fieldname": "column_break_nwor", + "fieldtype": "Column Break" } ], "icon": "fa fa-user", @@ -581,7 +586,7 @@ "link_fieldname": "party" } ], - "modified": "2023-06-22 13:21:10.678382", + "modified": "2023-09-21 12:23:20.706020", "modified_by": "Administrator", "module": "Selling", "name": "Customer",