Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5882 Tampilan

Can anyone help for adding group to reports through code.

Avatar
Buang
Jawaban Terbai

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>

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jul 24
4439
0
Okt 19
3068
1
Nov 18
2875
0
Jul 18
3788
3
Jan 18
6101