Odoo Help


How can i do display name for one2many_list on listview

Ilyas Bahri Dudak
on 4/5/16, 11:02 AM 896 views

I use one2may_list widget that is get record ids

eg: 1,2,3,4

I want to get display name

eg: name1,name2,name3

how can i do this? please help me...

On 4/6/16, 8:48 AM

Try to the below example,

alias_ids = fields.One2many('product.alias', 'product_id', 'Alias')

class product_alias(models.Model):

_name = "product.alias"

_description = "Product alias"

alias = fields.Char('Alias')

product_id = fields.Many2one('product.brand', string='Brand')

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/5/16, 11:02 AM
Seen: 896 times
Last updated: 4/6/16, 8:48 AM