Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6942 Ansichten

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!


Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor

Thank you, that helped!

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Feb. 22
2032
0
Sept. 23
2484
1
Mai 23
7163
0
März 21
5287
1
Dez. 20
3142