Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3348 Переглядів

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

 

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Автор Найкраща відповідь

Thanks for Reply

 

Amol :-)

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 18
5253
1
бер. 16
5011
0
бер. 15
3741
3
бер. 15
8603
0
бер. 15
4096