[FIX] Fixed & refactored form
[FIX] Fixed & refactored form

in on_ui_change(), validate() is called first. set_value_from_ui() is only called if field is valid
datetimepicker wrongly trigger on_change event when using 'setDate' method
openerp on_changes were using widget.value instead of wiget.get_value() thus breaking relational fields on_changes


havt/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web,akretion/openerp-web,akretion/openerp-web,havt/openerp-web