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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
6673
Visualizzazioni
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>
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
0
lug 24
|
5066 | ||
|
|
0
ott 19
|
3822 | ||
|
|
1
nov 18
|
3620 | ||
|
|
0
lug 18
|
4414 | ||
|
|
3
gen 18
|
6668 |