Skip to Content
Menú
This question has been flagged
2 Respostes
3353 Vistes

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

 

Avatar
Descartar
Best Answer

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.

Avatar
Descartar
Autor Best Answer

Thanks for Reply

 

Amol :-)

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’ag. 18
5254
1
de març 16
5015
0
de març 15
3743
3
de març 15
8604
0
de març 15
4103