Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4322 มุมมอง

Hi all,

Is there any way to create for example two printable (pdf) documents from one model? Example: my client wants to print two versions of the Repair Order: 1 for external sharing with the customer, and 1 for internal use. The internal version has more information.


I can create a new report with a new Template Name in the Odoo back-end via Settings > Technical > Reports > Reports, and then create a new QWeb view on this report, but printing it gives an error (QWebTemplateNotFound). When I instead use the same Template Name is in the existing report, I cannot see my new QWeb views because these are related to the template view.


How can I fix this and create a second report on top of the same model, without touching the xml and py code on the server? I want to do this from the Odoo application.


Cheers,

Bas

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Set report orientation แก้ไขแล้ว
1
มี.ค. 15
14376
3
มี.ค. 15
17899
0
มี.ค. 15
3434
Inherit Qweb แก้ไขแล้ว
4
ก.พ. 24
48211
How do you use variables in a Qweb loop? แก้ไขแล้ว
11
เม.ย. 23
92844