Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3323 Widoki

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

 

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thanks for Reply

 

Amol :-)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 18
5249
1
mar 16
5001
0
mar 15
3737
3
mar 15
8597
0
mar 15
4088