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:
I have extended by using the following code. But it is not working.
tree,kanban,form
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 25
|
2373 | ||
|
1
Jan 24
|
2861 | ||
|
0
Dec 23
|
1224 | ||
|
2
Jun 25
|
1830 | ||
|
1
Jun 25
|
448 |