跳至內容
選單
此問題已被標幟
2 回覆
3360 瀏覽次數

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 :-)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 18
5256
1
3月 16
5019
0
3月 15
3746
3
3月 15
8607
0
3月 15
4116