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.
Mr. Dean Jones. but when I prompt it to print option is shows only
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/24/14, 8:48 AM|
|Seen: 705 times|
|Last updated: 3/16/15, 8:10 AM|