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.


Hiding columns in Sales Invoice list view

Sudheendra Walvekar
on 11/7/13, 3:42 AM 884 views

Dear All,

In our project we are using both supplier invoice list view and sales invoice list view.

We have exposed supplier_invoice_number in the supplier invoice list view as one of the column. The supplier invoice number is visible in the supplier invoice list view correctly.

However, this column (supplier_invoice_number) is visible in the customer invoice list view also. I need to hide this column from the customer invoice list view. Requesting to help me to solve this issue.


I would appreciate any response as we are still unable to find a solution.

Prime Minds Consultancy Services, Sudheendra Walvekar
on 3/20/14, 7:22 AM
Kinner Vachhani
On 7/16/15, 12:48 PM


You need to override the window action via xml file and pass a context something like 'supplier_invoice': True.

Next step would be using context on column level e.g <field name='supplier_invoice_number' invisible="context.get('supplier_invoice', False)">

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: 11/7/13, 3:42 AM
Seen: 884 times
Last updated: 8/29/15, 5:41 PM