fix: remove customer_pos_id reference (#52396)

(cherry picked from commit 036f64013d)
This commit is contained in:
Diptanil Saha
2026-02-04 10:47:56 +05:30
committed by Mergify
parent 4a7e2742ec
commit ab59f73064
2 changed files with 1 additions and 8 deletions

View File

@@ -99,8 +99,7 @@ def get_customers_list(pos_profile=None):
return ( return (
frappe.db.sql( frappe.db.sql(
f""" select name, customer_name, customer_group, f""" select name, customer_name, customer_group, territory from tabCustomer where disabled = 0
territory, customer_pos_id from tabCustomer where disabled = 0
and {cond}""", and {cond}""",
tuple(customer_groups), tuple(customer_groups),
as_dict=1, as_dict=1,

View File

@@ -110,12 +110,6 @@ frappe.ui.form.ContactAddressQuickEntryForm = class ContactAddressQuickEntryForm
options: "Country", options: "Country",
mandatory_depends_on: "eval:doc.city || doc.address_line1", mandatory_depends_on: "eval:doc.city || doc.address_line1",
}, },
{
label: __("Customer POS Id"),
fieldname: "customer_pos_id",
fieldtype: "Data",
hidden: 1,
},
]; ];
return variant_fields; return variant_fields;