How to change default view in Odoo

No programming is necessary


Sometimes default Odoo setting is not the best for our business flow. For example, some users feel that it would be better to have the ListView(Tree View) as default for Products. This tutorial will show you how to change the default view in Odoo without programming. The sample will cover changing the default view of Products but all the steps can be used for any other view.


Activate the developer mode

Depending on the version you can do it in the Settings(versions 10 and newer) or after clicking on the user in the top right corner.

Odoo • Text and Image
Odoo • Image and Text

Go to the view you want to change

In this tutorial, we will be changing Kanban view to List view for Products.

Some people may ask if they should make a backup of their instance? Changing the default view is a safe operation and it is unlikely to break the system. However, the good practice is to get back up before any change is made.

 

Odoo • Image and Text


Click on the "Bug" and choose "Edit Action"

Again, the position might be slightly different but it is definitely there.  

Adjust the Action settings

In the "Views" section you need to update the following:

View mode with tree, kanban, form

- View Ref. - just change the last word for the desired result(for example to tree)


Odoo • Text and Image
Odoo • Image and Text

Does not work?

I have got n email that my solution does not work for Calendar(Regards Johan:) ). Checked it out and indeed I forgot about one more thing.

Some actions(like the one for calendar) have additional View sequence. Follow the step "Adjust the Action Settings" and scroll down the window until you see the views(as on the image). Now you can drag and drop views to set their sequence.

I don't need to remind you that when you will be writing a module you need to set the sequence in there as well.

 

There is more...

After updating Odoo all changes made from the front end(Actions, fields etc.) might be wiped out and replaced by default Odoo settings. That it is why it is recommended to create a module for the new features. If you have no time for programming you can buy the module for that for as little as 10 EUR here: https://apps.odoo.com/apps/modules/11.0/product_default_list_view/

For more information on the topic please visit:

- https://www.odoo.com/forum/help-1/question/how-do-you-define-specific-not-default-views-for-each-view-mode-type-form-tree-etc-in-act-window-xml-76275

- https://www.odoo.com/forum/help-1/question/odoo10-how-to-set-the-tree-list-view-as-default-view-for-customers-and-products-in-sales-module-129021