콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5336 화면

Can anyone help for adding group to reports through code.

아바타
취소
베스트 답변

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
4054
0
10월 19
2636
1
11월 18
2367
0
7월 18
3439
3
1월 18
5829