Odoo Help


Open openerp form in a modal

on 2/18/16, 2:19 AM 377 views

I try to open an openerp form in a modal in javascript with:

create_ticket: function (event) {
            var action = {
                type: 'ir.actions.act_window',
                res_model: 'abc.ticket',
                view_type: 'form',
                view_mode: 'form',
                views: [[false, 'form']],
                target: 'new',

but unfortunately, it opens the form but it's not in edit mode, then I cannot fill the form. Did I missed something ?


Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 2/18/16, 3:01 AM



target: 'inline'

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/18/16, 2:19 AM
Seen: 377 times
Last updated: 2/18/16, 3:01 AM