Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3330 มุมมอง

Hi folks,

I have split the name into to such as Name and Surname in which Surname field is mandatory.

But when I print invoice it fetches only Surmane (Mandaotry field) not the name.

such as

Mr. Dean Jones. but  when I prompt it to print option is shows only

Mr. Jones

Please help

Amol

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Amol,

You would need to go to the source file of the report of invoice(account/report/account_print_invoice.rml) and do the changes like:

[[ (o.partner_id and o.partner_id.firstname) or '' ]][[ (o.partner_id and o.partner_id.surname) or '' ]]

The bold text should be your right field name.

This should help.

Thanks.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks for Reply

 

Amol :-)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 18
5252
1
มี.ค. 16
5003
0
มี.ค. 15
3738
3
มี.ค. 15
8600
0
มี.ค. 15
4089