Can anyone help for adding group to reports through code.
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
8285
มุมมอง
I know that, my answer is very late but maybe this will help others:
Odoo 11.0
Override Request for Quotation report by adding a group to the access security list of the report.
<record id="purchase.report_purchase_quotation" model="ir.actions.report"><field name="name">Request for Quotation</field><field name="model">purchase.order</field><field name="report_name">purchase.report_purchasequotation</field><field name="groups_id" eval="[(4, ref('hide_prices.view_price'))]"/></record>
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
0
ก.ค. 24
|
6255 | ||
|
|
0
ต.ค. 19
|
5279 | ||
|
|
1
พ.ย. 18
|
4838 | ||
|
|
0
ก.ค. 18
|
5823 | ||
|
|
3
ม.ค. 18
|
7506 |