Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3349 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä Paras vastaus

Thanks for Reply

 

Amol :-)

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 18
5253
1
maalisk. 16
5011
0
maalisk. 15
3741
3
maalisk. 15
8603
0
maalisk. 15
4097