跳至內容
選單
此問題已被標幟
2 回覆
6179 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
1月 24
13920
6
1月 17
6835
3
11月 24
3587
2
5月 24
2737
2
3月 15
5213