Merge pull request #52397 from frappe/mergify/bp/version-16-hotfix/pr-52396

fix: remove customer_pos_id reference (backport #52396)
This commit is contained in:
ruthra kumar
2026-02-10 18:28:49 +05:30
committed by GitHub
2 changed files with 1 additions and 8 deletions

View File

@@ -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,