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

Hello,


for our company reports I need to print the invoice/quotation number in the header. My first try was to put the header to the body, where I can print the number, but than I get many other problems so this way is no solution.


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Use the tag place:

Here I talk about how I use it to put elements in the header

https://www.odoo.com/forum/help-1/question/how-can-i-use-storyplace-element-in-rml-on-openerp7-52592#answer_71913

อวตาร
ละทิ้ง
ผู้เขียน

Hello Axel, we are using QWeb for our reports, not RML. So this won't work I guess.

see this https://www.odoo.com/forum/help-1/question/how-to-have-custom-header-in-qweb-report-68544#answer_75254

ผู้เขียน

As I already wrote, because of some problems we can't put the headers in the "body". We are using two different headers, disabling one of them on the first page, the other on the nth page, realized with JS. If we now put the headers in the "body", the JS doesn't work anymore, so both headers are printed. Because of that they need to be in the real header template.

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 20
8152
2
พ.ค. 17
4134
2
ต.ค. 22
7914
2
มิ.ย. 22
8037
1
ก.ค. 20
4337