mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-25 15:49:31 +00:00
fix: remove customer_pos_id reference (#52396)
(cherry picked from commit 036f64013d)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user