This question has been flagged

How could we add an extra action (link to a view) on a many2one field drop down list (after "Search More" and "Create and Edit..." )?

In my case, that will be useful in the product object in order to have a popup to create either a new product (original "Create and Edit...") or a new variant (menu item called "Create Variant...").

Those items are defined in the "instance.web.form.CompletionFieldMixin" function of the web module in view_form.js. But I cannot find out how to extend this function properly for a specific python object.

Avatar
Discard

hi Gabriel, i'm working for the same task :( can you help me please !! is ther's a solution to extend instance.web.form.CompletionFieldMixin ?

hi Gabriel, "Search More" action will show the tree view. Is there any way to show the result of "Search More" action as a Kanban view? Please help.