Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5990 Weergaven

Can anyone help for adding group to reports through code.

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 24
4524
0
okt. 19
3134
1
nov. 18
2930
0
jul. 18
3845
3
jan. 18
6150