Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2352 Lượt xem

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,



Ảnh đại diện
Huỷ bỏ

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

Tác giả

yeah exactly