Hi everybody,
In my object product_template , I create an one2many field that is linked to an class product_cara. It works.
Now, I would like to print on my rml sale_order.rml all the line present in my one2many field.
class product_template(osv.osv):
_name = "product.template"
_description = "Product Template"
_columns = {
'name': fields.char('Name', size=128, required=True, translate=True, select=True),
'product_cara': fields.one2many('product.cara', 'product_cara_id', 'product Cara),
I try something like this:
<para style="terp_default_9">[[ repeatIn(o.order_line.product_id.product_tmpl_id.product_cara,'cara') ]]</para>
<para style="P5"><font face="Helvetica">[[ cara.name ]]</font></para>
But it don't works. Have just have this on my rml :
browse_record_list(5)
If someone can help me , it would be really nice.
Thank you a lot
Best regards,
Selverine