跳至内容
菜单
此问题已终结
2 回复
3351 查看

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
5253
1
3月 16
5013
0
3月 15
3742
3
3月 15
8604
0
3月 15
4101