İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3362 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici En İyi Yanıt

Thanks for Reply

 

Amol :-)

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 18
5258
1
Mar 16
5020
0
Mar 15
3747
3
Mar 15
8610
0
Mar 15
4119