跳至内容
菜单
此问题已终结
4 回复
10313 查看

hello

I'm trying to playing around this two method but i'm having some difficulties like,

> when name_get() and name_search() get called?!

> Does it need to call it's super() ?

> and In which particular case use right method from this two?

i'm new to odoo

thanks for you help :)

形象
丢弃
最佳答案

Learn – Overriding name_get method in Odoo 8 with Example - Odoo Technical

http://odootechnical.com/overriding-name_get-method-in-odoo-8/

形象
丢弃
最佳答案

Those methods are called by Odoo, probably you will never end up calling those by yourself. Those methods are called by some widgets like many2one to get the display name of the record.

形象
丢弃
编写者

ok thanks for your answer. but can you give me more precise answer about when these method called exactly by odoo!

what it's exactly what you need?

相关帖文 回复 查看 活动
7
10月 17
12907
2
4月 16
6750
3
3月 15
3898
0
2月 17
2957
0
11月 16
4015