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

Hi All,


i'm using odoo online (enterprise) and odoo studio (saas 17.2).

for Quotation number while print to pdf report is only show S0001.pdf.


i check in internet and for the change that field name report is in :

Settings > Technical > Reporting > Reports 


How i can add customer name in PDF report filename : e.g : S0001 Company.pdf


I try using (object.x_name) - (Object.x_customer_name)

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

Hi,
Inside the report, you can give the value of Printed Report Name as '%s - %s' % (object.partner_id.name, object.name)

object.partner_id.name will bring the name of the customer.


Thanks

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks for your Answer.

it's works. 

i'm sorry i can't like your answer and make it Best Answer because my profile KARMA is still not enough.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
PDF reports แก้ไขแล้ว
5
ก.ค. 25
2176
Wrong PDF Format แก้ไขแล้ว
2
มี.ค. 24
2708
0
พ.ย. 22
2928
0
ก.ย. 17
5254
1
มี.ค. 15
8349