Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3553 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

Thanks for Reply

 

Amol :-)

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 18
5612
1
bře 16
5331
0
bře 15
4092
3
bře 15
9047
0
bře 15
4487