Skip to Content
Menu
This question has been flagged
1 Atsakyti
5937 Rodiniai

Can anyone help for adding group to reports through code.

Portretas
Atmesti
Best Answer

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>

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
liep. 24
4484
0
spal. 19
3110
1
lapkr. 18
2898
0
liep. 18
3818
3
saus. 18
6127