Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5935 Zobrazení

Can anyone help for adding group to reports through code.

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 24
4484
0
říj 19
3103
1
lis 18
2896
0
čvc 18
3815
3
led 18
6126