Odoo Help


javascript doubt for a single model with two views

dianne jose
on 8/14/13, 4:22 AM 961 views

I have a model named "compare" with fields
'quoted_id','quoted_price' & 'supplier_id' , 'supplier_price' .Both are shown in two different menu(2 tree view). I want to write a javascript code for searching in acc: with 'quoted_id(menu 1) & 'supplier_id' (menu 2) (like the Accounting/jounal items view). i have done for one menu.

But wen it comes to menu 2,my doubt is that how to pass qweb for menu 2 .whether it should be added to already existing xml file if wriiten so, its a single model and the two view appears in both menu?

  • So how to give such search menu(using javascript) for two different view but for same model???????????? ========================================

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

0 follower(s)


Asked: 8/14/13, 4:22 AM
Seen: 961 times
Last updated: 3/16/15, 8:10 AM