hello
i want to search sales order records by customer's phone number & emial id
how can i achieve this??
skype id
shashank_leosys
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello
i want to search sales order records by customer's phone number & emial id
how can i achieve this??
skype id
shashank_leosys
There is no field of Customer Phone in Sale Order. So you cannot search for that.
You can create related
field of Customer Phone.
'customer_phone': fields.related('partner_id', 'phone', type='char'),
Now add this field in search view of Sale Order.
thanks sudhir
bythe way i tried an alternate way to achieve this
i put this code in serach view
<field name="name" string="phone number" filter_domain="[('partner_order_id.phone','ilike',self)]"/>
<field name="name" string="email" filter_domain="[('partner_order_id.email','ilike',self)]"/>
its working f9
but your solution much easier and compact once again thanks
are you on skype?? can i have ur skype id?