Skip to Content
Menu
This question has been flagged
1983 Views

Hi,

When i made for exemple,

myfield = fields.Many2one('res.partner', String='My field')

It give me the name of the partner, but what i'm looking for is to have for exemple the list of phone number from res.partner without adding this.

tel= fields.Char(related='myfield.phone', String='Num de tel').

I want to do inverse ( the phone number should give me all information about the partner )

Regards,



Avatar
Discard

Are you saying instead of name you need to show phone number?

Author

yeah exactly