show many2many field in Report

Asked by voathnak

Hello

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'),

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),
    }

and I want to show it using lambda.

could anyone help me please?

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Web (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Lim,

Why would you need M2M field and anther model?

Do you wish to display language per product?

Describe clearly, you will get clearer help.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask voathnak for more information if necessary.

To post a message you must log in.