Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
6083 Ansichten

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

Avatar
Verwerfen
Autor

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

Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Jan. 24
13825
6
Jan. 17
6697
3
Nov. 24
3314
2
Mai 24
2590
2
März 15
5089