コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
1090 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
4
6月 24
1390
2
3月 24
1807
0
11月 22
2169
0
9月 17
4564
1
3月 15
7746