Can anyone help for adding group to reports through code.
Tämä kysymys on merkitty
1
Vastaa
8268
Näkymät
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>
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
0
heinäk. 24
|
6232 | ||
|
|
0
lokak. 19
|
5244 | ||
|
|
1
marrask. 18
|
4823 | ||
|
|
0
heinäk. 18
|
5806 | ||
|
|
3
tammik. 18
|
7497 |