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

I have started developing on Odoo 13 just one week ago. and I am working on development of a module that is supposed to inherit timesheet_grid app and make some fundamental changes. now what I want to do is to develop a custom widget for list/tree view that takes a date, and display the elapsed time since the given date. for example if the given time is equal 18:20, and It's 19:30 It should display 01:10.

Actually I have tried to look for different solutions to make this work like QWeb, but apparently QWeb is not supported on on tree view. and I could not find any good documentation explaining how to make custom widgets, even the official documentation doesn't explain was not that deep.

That's why I am here hopping someone can provide me with a good example or documentation on how to make custom widgets for fields.

Thank you in advance and enjoy your evening!


아바타
취소
베스트 답변

Hi,

You can refer the following application for creating a new widget,  in the following app a new custom signature widget is created

Custom Widget

아바타
취소
작성자

Thank you, that helped!

관련 게시물 답글 화면 활동
0
2월 22
2030
0
9월 23
2478
1
5월 23
7157
0
3월 21
5276
1
12월 20
3139