Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3346 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur Meilleure réponse

Thanks for Reply

 

Amol :-)

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
août 18
5253
1
mars 16
5011
0
mars 15
3741
3
mars 15
8603
0
mars 15
4096