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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
6026
查看
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>
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
7月 24
|
4532 | ||
|
0
10月 19
|
3152 | ||
|
1
11月 18
|
2955 | ||
|
0
7月 18
|
3860 | ||
|
3
1月 18
|
6162 |