Hello Community,
I am stuck in python code.
I got customer doc in my “cust” variable using below code
cust = frappe.get_doc(‘Customer’, order.customer)
but, I want all fields and its values.
I try below code but it returns only name of a customer.
cust_all_fields_values = frappe.db.get_value(“Customer”, filters="{‘name’: ‘Customer1’})
so, please can anyone suggest me what can I do for that.
Thanks in advance