Can anyone help for adding group to reports through code.
This question has been flagged
1
Odgovori
8270
Prikazi
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>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
|
0
jul. 24
|
6232 | ||
|
|
0
okt. 19
|
5246 | ||
|
|
1
nov. 18
|
4824 | ||
|
|
0
jul. 18
|
5807 | ||
|
|
3
jan. 18
|
7500 |