No 'Create' button in Tree-View (OpenERP 7)
Hello Community,
I'm frustrated by a apparently simple problem.
I'm trying to create a tree view for a custom entity (e.g. 'foo.bar') which shows me all objects and and provides the ability to create new objects by using my implemented form view.
But here comes the problem: The well-known header with the red 'Create' button and the filter settings are not shown. Only the tree view itself is visible when I click on the menu item which refers to the action associated to my tree view.
I tried to compare my code with the views of the Project module. But I don't see a real difference.
Maybe you can help me?
Here are my view records and action entry:
<record id="view_
<field name="name"
<field name="model"
<field name="arch" type="xml">
<tree string="Foo Bars">
<field name="field_a"/>
<field name="field b"/>
</tree>
</field>
</record>
<record id="view_
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
<form string="View Foo Bar" version="7.0">
<header>
test
</header>
<group>
<field name="field_a"/>
<field name="field_b"/>
</group>
</form>
</field>
</record>
<record id="action_
<field name="name">Manage Foo Bars</field>
<field name="type"
<field name="res_
<field name="view_
<field name="view_
<field name="view_id" ref="view_
<field name="target"
</record>
Thank you very much!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- brainchild
- Solved:
- Last query:
- Last reply: