Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4 Replies
10306 Tampilan

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 :)

Avatar
Buang
Jawaban Terbai

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

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

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Penulis

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?

Post Terkait Replies Tampilan Aktivitas
7
Okt 17
12904
2
Apr 16
6748
3
Mar 15
3893
0
Feb 17
2955
0
Nov 16
4012