Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1528 Vizualizări

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)

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
PDF reports Rezolvat
5
iul. 25
2186
2
mar. 24
2713
0
nov. 22
2939
0
sept. 17
5256
1
mar. 15
8352