Can anyone help for adding group to reports through code.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
5909
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
|
4476 | ||
|
0
paź 19
|
3090 | ||
|
1
lis 18
|
2888 | ||
|
0
lip 18
|
3802 | ||
|
3
sty 18
|
6111 |