콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1344 화면

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
1834
Wrong PDF Format 해결 완료
2
3월 24
2345
0
11월 22
2645
0
9월 17
4946
1
3월 15
8071