Can anyone help for adding group to reports through code.
To pytanie dostało ostrzeżenie
1
Odpowiedz
8280
Widoki
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>
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
0
lip 24
|
6248 | ||
|
|
0
paź 19
|
5278 | ||
|
|
1
lis 18
|
4835 | ||
|
|
0
lip 18
|
5816 | ||
|
|
3
sty 18
|
7503 |