From ab59f730648932603464472dd6efcf78c63c4530 Mon Sep 17 00:00:00 2001 From: Diptanil Saha Date: Wed, 4 Feb 2026 10:47:56 +0530 Subject: [PATCH] fix: remove customer_pos_id reference (#52396) (cherry picked from commit 036f64013d033d78963bcd0abe5fb9c2c0d77c03) --- erpnext/accounts/doctype/pos_profile/test_pos_profile.py | 3 +-- erpnext/public/js/utils/contact_address_quick_entry.js | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/erpnext/accounts/doctype/pos_profile/test_pos_profile.py b/erpnext/accounts/doctype/pos_profile/test_pos_profile.py index 002c913a7a2..1f02ba7e0a7 100644 --- a/erpnext/accounts/doctype/pos_profile/test_pos_profile.py +++ b/erpnext/accounts/doctype/pos_profile/test_pos_profile.py @@ -99,8 +99,7 @@ def get_customers_list(pos_profile=None): return ( frappe.db.sql( - f""" select name, customer_name, customer_group, - territory, customer_pos_id from tabCustomer where disabled = 0 + f""" select name, customer_name, customer_group, territory from tabCustomer where disabled = 0 and {cond}""", tuple(customer_groups), as_dict=1, diff --git a/erpnext/public/js/utils/contact_address_quick_entry.js b/erpnext/public/js/utils/contact_address_quick_entry.js index 1a1d67b475a..f6ce5d0d28b 100644 --- a/erpnext/public/js/utils/contact_address_quick_entry.js +++ b/erpnext/public/js/utils/contact_address_quick_entry.js @@ -110,12 +110,6 @@ frappe.ui.form.ContactAddressQuickEntryForm = class ContactAddressQuickEntryForm options: "Country", mandatory_depends_on: "eval:doc.city || doc.address_line1", }, - { - label: __("Customer POS Id"), - fieldname: "customer_pos_id", - fieldtype: "Data", - hidden: 1, - }, ]; return variant_fields;