Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2326 Weergaven

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
Annuleer

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

Auteur

yeah exactly