Odoo Help


how i can trigger save button inside 'instance.web.form.CompletionFieldMixin' this section (view_form.js)

on 2/10/15, 3:45 AM 565 views

how i can trigger save button inside  'instance.web.form.CompletionFieldMixin'  this section (view_form.js)


// search more... if more results that max
            if (values.length > self.limit) {
                values = values.slice(0, self.limit);
                    label: _t("Search More..."),
                    action: function() {
                        dataset.name_search(search_val, self.build_domain(), 'ilike', 160).done(function(data) {
                            self._search_create_popup("search", data);
                    classname: 'oe_m2o_dropdown_option'

                i want call save button event from here   ....


On 2/11/15, 1:28 AM

i got the answer for this ,

add this code where u want

var test=self.__parentedParent;





You made my day. +1

on 7/23/15, 7:59 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/10/15, 3:45 AM
Seen: 565 times
Last updated: 3/16/15, 8:10 AM