Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
10430 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor

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?

Related Posts Răspunsuri Vizualizări Activitate
7
oct. 17
13076
2
apr. 16
6904
3
mar. 15
4030
0
feb. 17
3099
0
nov. 16
4148