> I created a field function that calculates the priority of buying a
> product according to the needs of my company. What I'm trying to do is
> create domains in the views (action.act_window.domain) to facilitate
> finding the products according to this priority. As the field is a function
> field, I can not use it directly in the domain. So I'm trying to update a
> field every time the function field is updated. I dont know if there is
> another way I can do this...
>
> You can use the searcher attribute of the function field to build a domain
on the field.

If you are confident that the number of element that will be fetched is not
too much, you also can override the search method of your model and
manually filter the result.

Jean CAVALLO
Coopengo

Reply via email to