Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6136 มุมมอง

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
13885
6
ม.ค. 17
6755
3
พ.ย. 24
3397
2
พ.ค. 24
2658
2
มี.ค. 15
5143