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

Hello,

I have created a new class containing 2 fields and which is likned to res.partner. I have added a list in client screen to select a value from this new class.  

In this list, I can see the first records from the table, and the option "Search more" and "Create/Update".

When I use "Search more", a window opens with all the records from the new table. My problem is I'd like to add a new column on this list.

Do I have to change an ORM method? Which one?

Thanks,

아바타
취소
베스트 답변

I don't think you need to alter any ORM method. I would go by doing this:

  • Set Odoo to debug mode in the client. 
  • Open the "search more" screen you want to alter
  • Using the debug-mode find the view that has been opened
  • Inherit that (xml-)view in your own module and add the column

This should give you the new view using the extra column.

아바타
취소
작성자 베스트 답변

Thanks for the response.

When opening the search more screen, I can't access the debug list which is in back, the window is open as modal (same behavior than creating a new civility in the client screen)

아바타
취소
관련 게시물 답글 화면 활동
Using search count 해결 완료
2
12월 23
20359
1
3월 15
3816
1
12월 23
21298
1
1월 24
15657
1
7월 25
897