Where can find the list of widgets?


(Markus Bala) #1

Hi,

Understand that some fields can support widgets?
such: field type date time can use widget= time, date.
Widget: selection as one of the example.

Where can find the list of widgets?
It do not shown in documentations


(Maxime Richez) #2

http://hg.tryton.org/tryton/file/default/tryton/gui/window/view_form/view/form.py#l425


(C├ędric Krier) #3

I think the best way is to look at the rnc files in trytond/ir/ui as it shows the widgets per type of view.
You can also use those rnc/rng file to lint the view with your editor.