Adds functionality to search res.partner records by a field other than name when used in Many2one field. The custom search field can be defined in a view using the context property. Example:
<field="partner_id" context="{"search_by_field": "custom_search_field"}"/>
This will also show values of the drop down options by concatenating the values of custom_search_field and name.
Please log in to comment on this module