I have extended by using the following code. But it is not working.
tree,kanban,form
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello Shajahan,
In your extended View, Add the attribute
"Below code is added in comment"
here, ref has a 'id' of Tree View.
Please update both act_window when modifying one (open_view_project_all or open_view_project_all_group_stage) as one or the other is used in the menu menu_project
Hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Here is the code :
<field name="view_id" ref="view_project"/>
Thank you very much Jainesh , It works...:-)
Hi,
Try to use this code , this help to override the default actions
<record id="project.open_view_project_
<field name="name">Projects</field>
<field name="res_model">project.
<field name="domain">[]</field>
<field name="view_mode">tree,kanban,
<field name="view_id" ref="view_project_kanban"/>
<field name="search_view_id" ref="view_project_project_
<field name="help" type="html">
<p class="o_view_nocontent_
No projects found. Let's create one!
</p>
<p>
Create projects to organize your tasks. Define a different workflow for each project.
</p>
</field>
</record>
Hope it helps
the above one gives error:
when I added the below code it works.
<field name="view_id" ref="view_project"/> (earlier I had given ref="view_project_kanban")
===================the below is working code========
<record id="project.open_view_project_all" model="ir.actions.act_window">
<field name="view_mode">tree,kanban,form</field>
<field name="view_id" ref="view_project"/>
</record>
===================
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld dig| Related Posts | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
1
mar. 25
|
3712 | |||
|
1
jan. 24
|
4551 | |||
|
0
dec. 23
|
1960 | |||
|
0
okt. 25
|
3 | |||
|
1
okt. 25
|
1201 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.