Odoo Help


how to open a form from javascript of widget?

voathnak lim
on 8/5/13, 11:14 PM 1,849 views

hello everyone.

I need to open a link of product form when i click on bom lines and i decide to use JavaScript. and i use window.open but it's not working well. could anyone help me please...


Metrolux Gmbh, Andreas Marpmann
on 6/20/14, 12:07 AM
ignatius budi
On 1/30/14, 5:02 AM


Can u post the full code for opening openerp url using ajax? i'm totally "lost" in php, mainly i write my code using java..



voathnak lim
On 9/5/13, 12:07 AM

I found solution by using ajax to request to load another form.

             views: [[false, 'form']],
             view_type: 'form',
             view_mode: 'form',
             res_model: 'product.product',
             type: 'ir.actions.act_window',
             target: 'current',
              res_id: product_id,

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

2 follower(s)


Asked: 8/5/13, 11:14 PM
Seen: 1849 times
Last updated: 3/16/15, 8:10 AM