跳至内容
菜单
此问题已终结
2334 查看

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,



形象
丢弃

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

编写者

yeah exactly