Odoo Help

0

How to avoid the new only mode when entering a menuitem

v7
By
Dale E. Moore
on 10/29/13, 8:46 AM 1,412 views

When I click a menu item I get a new object and I just have to save the object, like this:

image description

But, I would prefer the normal method of entry into a menu item, like Sales, Customer menu item which gives you a tree listing of customers, a button to create and the search filter like this:

image description

How do I change it to get the tree and a Create button?

0
Ashif Abdulrahman
On 10/29/13, 10:19 AM

you should add these lines in your action which is called on menuitem

**<field name="view_type">form</field>

<field name="view_mode">form,tree</field>

<field name="view_id" ref="view_student_marklist_tree"/>**

in 3rd line give ref = your tree view id

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/29/13, 8:46 AM
Seen: 1412 times
Last updated: 3/16/15, 8:10 AM