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

I need a report using an sql query, the query is already created. How do I add the query or how do I create the button to generate the report?

아바타
취소

Hi,

Try to visit the following links

You can write your query inside the function _get_report_values . For more reference you have examples in the odoo itself like printing invoice report from button etc..

1. https://www.cybrosys.com/blog/qweb-reports-in-odoo12 

2.https://www.cybrosys.com/blog/qweb-reports-in-odoo-v10 

Hope it helps