Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to inherit the Website, settings menu. That is a transient model - models.TransientModel
When I am inheriting that and viewing with a new menuitem it overwrites the previous view. Like - There are two views now, the new record I defined named Website Event Settings . When I click on that it loads the new modified view but when I click on existing Settings menu, it shows nothing. The record view I used is following -
<record id="action_website_event_configuration" model="ir.actions.act_window">
<field name="name">Website Event Settings</field>
<field name="view_id" ref="view_website_event_config_settings"/>
How can I have two views of website config settings page?
if you need two views for website.config.setting you need to specify view_id for both the menu actions . Like as you specified the view_id for the your new menu action. check if the existing menu action have view_id specified ,if not you need to inherit the existing menu action and add view_id to it so that existing menu action will pick the view specified in view_id.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/12/16, 1:20 PM|
|Seen: 1044 times|
|Last updated: 11/13/16, 9:30 AM|