Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
6064 Переглядів

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.

Regards

Аватар
Відмінити
Автор

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

Найкраща відповідь

Hi,

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)">

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
січ. 24
13794
6
січ. 17
6664
3
лист. 24
3289
2
трав. 24
2560
2
бер. 15
5078