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!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
1
मार्च 25
|
3775 | |||
|
1
जन॰ 24
|
4650 | |||
|
0
दिस॰ 23
|
1989 | |||
|
0
अक्तू॰ 25
|
3 | |||
|
1
अक्तू॰ 25
|
1260 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.