Hello all! I am trying to prepare OpenERP for our company. I have created a custom field in res.partner model. The field name is x_uin. I managed to add the field to the partner view, so I can input some information. I'm having problems adding the value of the column to the invoice's PDF.
Here is the code I am using.
<para style="terp_default_8">UIN : [[ (o.partner_id.x_uin) ]]</para>
I am sure that the value is not empty, because in the partner view the value is shown. The only problem is that it's not shown in the PDF.
Maybe the question is stupid, but I am newbie to OpenERP.
I have found out where is the problem. I was creating an invoice to a contact of the company. The contact itself doesn't have x_uin filled. When I changed the "owner" of the invoice to the company, the x_uin field got printed.
As a newbie to OpenERP, I wasn't careful enough when selecting the recipient of the invoice.
Thanks for all the answers!
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: 9/30/13, 12:53 PM|
|Seen: 3508 times|
|Last updated: 6/25/15, 6:27 AM|