I need the show a list of Language name in model language.language in Report of product.
and here is my many2many field.
'product_marketing_languages_ids' : fields.many2many('languages.languages', 'product_marketing_languages', 'product_id', 'language_id', 'Marketing Languages'),
and this is the model of product_marketing_languages:
class product_marketing_languages(osv.osv):
_name = 'product.marketing.languages'
_columns = {
'product_id' : fields.many2one('product.product', 'Product Marketing'),
'language_id' : fields.many2one('languages.languages', 'Language', required = True),
}
I have try this
[[repeatIn(objects,'o')]]
[[ o.product_marketing_languages_ids,'line' ]]
and it's show : ([browse_record(languages.languages, 145), browse_record(languages.languages, 146)])
and could you tell me how to get the name field in languages.languages using lambda? could anyone help me please?
[[repeatln(objects,'o')]], [[repeatln(o.product_marketing_languages_ids,'line')]], [[line.name]], After all these commands given in your rml report you will get your answer