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.
How to properly copy view in odoo 8. lets say, i want to list User Group lists in my custom module.
So far i have inherited res.groups also inherited base.res_groups_form .
Result is i have customized list of groups in my module. but also it is changed in original Menu too.
Lets i want 2 view for groups or any other things in odoo. one is original and another is my module view. is it possible.?
i think it is possible in _inherits but i hve to copy whole view code. how to do it ??
For this you ca make one tree view for your menu and give reference in your action.
May be this will solved your purpose.
<!-- define field which you want to display. -->
<record id="your_res_group_tree_view" model="ir.ui.view">
<field name="arch" type="xml">
<tree string="Product Sequence">
<field name="xyz" />
<field name="abc" />
<record id="res_group_action" model="ir.actions.act_window">
<field name="name">Res Group</field>
<field name="view_id" ref="your_res_group_tree_view"/>
<record id="action_group_form" model="ir.actions.act_window.view">
<field name="sequence" eval="1"/>
<field name="view_id" ref="give_your_form_view_id/>
<field name="act_window_id" ref="res_group_action"/>
parent="define_parent_menu" sequence="10" />
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: 7/14/15, 1:17 AM|
|Seen: 1352 times|
|Last updated: 10/28/15, 10:20 AM|