>
>
>
> Don't know which version you are using but it is already implemented by 
> https://bugs.tryton.org/issue4006 
>
>

I have 3.2.2, not possible to change at the moment, but I applied the 
changes manually and worked like charm (Thanks!) except for the many2many 
that are implemented using opposites one2many. how can I "forward" the 
search term for it to appear in the new search windows?
Is those cases that when you click a new empty records appears ready to 
edit without using a form view.



Default search like this one is mapped to the "rec_name" field. You can 
> either set it to an existing field :
>
> class MyModel(...):
>    _rec_name = 'name'
>
> Will map the rec_name field to the 'name' field, so any search on rec_name 
> will be the same than a search on name.
>
> For something more complicated, you can override "search_rec_name" to do 
> the search the way you like.
>


if I need to search using more than one column I have no choice but to use 
search_rec_name method, do I?

Thanks again you've been really helpful


Mariano

 

Reply via email to