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

I have created two views for one model, each view should have it´s own reports.

When I add a repoert, both views inherit it, is it possible to customize?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Yes it possible to achieve it using the fields_view_get function. There is a module from OCA which does the similar trick. It Hide the Quotation report from the Purchase Order Menu and Purchase Order Report from the RFQ menu.


Have  a look at the module and its coding:  This module hides 'Request for Quotation' mention in purchase order print report."


Thanks

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Tweaked it a bit, but works like a charm. Thank you!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 16
2877
1
ก.ย. 21
3400
0
ก.พ. 18
3433
Print Attachments in Delivery Orders แก้ไขแล้ว
1
พ.ค. 24
1937
Print Multiple Invoices Fails Odoo CE 11 แก้ไขแล้ว
4
เม.ย. 22
4793