Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
1519 Weergaven

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)

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur Beste antwoord

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
PDF reports Opgelost
5
jul. 25
2171
2
mrt. 24
2707
0
nov. 22
2921
0
sep. 17
5250
1
mrt. 15
8347