콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
10439 화면

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
13076
2
4월 16
6907
3
3월 15
4043
0
2월 17
3109
0
11월 16
4149