CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to figure out how i can change selection of module(along with selection on menuitem on button click. (in simple words, i want to open a menu item when a button is clicked)
It is like. i have created a module name Home. It has button named "Search". On clicking button Menu Item 'Search' should be selected from top menu strip alont with opening that module. So far my code is:
def search_click (self,cr,uid,ids,context):
'res_model': 'target model name',
The above code opens the model which i want to select. But i want to open the whole module in which that model/class is. Same functionality when we click on top bar menuitem.
Any help, or guide in proper direction is highly appreciated.
About This Community
Odoo Training Center
|Asked: 3/12/15, 7:19 AM|
|Seen: 1035 times|
|Last updated: 3/16/15, 8:10 AM|