Odoo Help


This community 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.


How to set inline view only in form?

on 7/7/16, 8:36 AM 235 views

Is it possible to set inline view only for form view? I need top bar to be accessible in tree view (for search etc. like in target current) and need it be removed from form view, but with editable form (like in target inline). I guess it is needed to be changed somewhere in web module's js files, but it is hard for me to figure out. The solution might be opening form in edit mode automatically (found a module, that should add such thing but it was not working properly) and removing top bar upon entering form. Easiest way that I tested was using .click() on Edit button then removing top bar, but that does not work since bar was removed earlier, so .click() couldn't go off.

If you have any suggestion where to find the code removing top bar in inline views or how to set form to edit upon open, I'd appreciate that.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 7/7/16, 8:36 AM
Seen: 235 times
Last updated: 7/7/16, 8:37 AM