Can anyone help for adding group to reports through code.
Denna fråga har flaggats
1
Besvara
8304
Vyer
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>
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
0
juli 24
|
6294 | ||
|
|
0
okt. 19
|
5288 | ||
|
|
1
nov. 18
|
4857 | ||
|
|
0
juli 18
|
5834 | ||
|
|
3
jan. 18
|
7510 |