跳至內容
選單
此問題已被標幟
2 回覆
1471 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
PDF reports 已解決
5
7月 25
2055
2
3月 24
2590
0
11月 22
2824
0
9月 17
5154
1
3月 15
8259