先贴参考链接,有时间再补上实现的代码:
https://www.odoo.com/fr_FR/forum/aide-1/question/using-name-get-how-to-shows-two-different-display-values-2589