Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

odd many2many field display

By
Victor Godayer
on 3/27/14, 6:16 AM 910 views

Hi,

I have created a many2many relationship on the model res.partner under the field name x_m_role.

The related model is named x_partner_role_model and has one field x_role_name.

In my partner form view I added the following xml to make the new relationship available :

<field name="x_m_role" string="Roles" widget="many2many_tags"> </field>

I have only a trouble about the display of the records in the fields. I would like the x_role_name field value to be display, instead I have something like x_partner_role_model,1

How could I manage to get the value of the x_role_name to be displayed ?

Thanks for your help

Cheers

Great that solved my problem. Cheers

Victor Godayer
on 3/27/14, 7:42 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/27/14, 6:16 AM
Seen: 910 times
Last updated: 3/16/15, 8:10 AM