fix: remove customer_pos_id reference (#52396)

This commit is contained in:
Diptanil Saha
2026-02-04 10:47:56 +05:30
committed by GitHub
parent 51cfd6119f
commit 036f64013d
2 changed files with 1 additions and 8 deletions

View File

@@ -98,8 +98,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;