I try to create a custom view like kanban, tree, form.
I have a basic default module inherit from res.users with:
to do that i have made:
- add my custom view name to the VIEW_TYPES,
if 'customview' not in base.ir.ir_actions.VIEW_TYPES:
- After I write my xml file:
<record id="action_custom_view" model="ir.actions.act_window">
<field name='name'>Users custom view</field>
<record id="custom_global_view" model="ir.ui.view">
<field name="name">Custom Global View</field>
<field name="arch" type="xml">
And I have override the fields_view_get method in my custom_view.py file just to see if I get the view_type in input and everithing is ok.
Now I want to have the little icon on top of the right when I go into Settings/Users.
What I need to do this ? is this can be handle by Odoo ?
If Odoo can handle it, what I miss in my module ?
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
|Asked: 7/31/14, 1:52 PM|
|Seen: 822 times|
|Last updated: 3/16/15, 8:10 AM|