Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2321 Представления

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