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

hi all
i created a report in odoo 14 but i want to trigger only from button i did it but now i want to hide from print menu .... Thanks

<record id="report_export_sale_order" model="ir.actions.report">
<field name="name">Print Packing List</field>
<field name="model">sale.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">sales_enhancement.report_export_so</field>
<field name="report_file">sales_enhancement.report_export_so</field>
<field name="binding_model_id" ref="model_sale_order"/>
<field name="binding_type">report</field>
</record>
아바타
취소
작성자 베스트 답변
<field name="binding_model_id" eval="False"/>
아바타
취소

Thanks, you helped me a lot with sale.action_report_saleorder report we do not need.)

This works in Version 13.0

베스트 답변

Hi,

According to the document says you should define binding_type to action.

https://www.odoo.com/documentation/14.0/reference/actions.html#bindings

Or seeing from odoo source code, don't include the definition of binding_model_id field in your xml.

아바타
취소
관련 게시물 답글 화면 활동
1
9월 24
2348
1
5월 23
2984
1
9월 21
5563
0
1월 25
1257
1
8월 23
3692