[FIX] web: date widget, set date when shown
[FIX] web: date widget, set date when shown

In 36146b3f setting the date of the datetimepicker was done when it was
opened, but only for widget datetime. Thus we could get an issue for a
widget date when we wanted to use it to select two same date.

e.g if we select 23 september for a date, it works. if we then use the
widget on another date, 23 september is selected and it will not trigger
a value change if we leave this value.

This fix adds the date setting when opening the date widget, and also
prevents the bootstrap datetimepicker feature* of closing the widget
when setting the value of the date-only picker.

closes #8506
opw-648619

* this feature is explained in the following issue:
  https://github.com/Eonasdan/bootstrap-datetimepicker/issues/603

Elico-Corp/odoo_OCB,syci/OCB,ygol/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,laslabs/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,optima-ict/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,stephen144/odoo,syci/OCB,laslabs/odoo,stephen144/odoo,microcom/odoo,dfang/odoo,sysadminmatmoz/OCB,optima-ict/odoo,hip-odoo/odoo,syci/OCB,microcom/odoo,hip-odoo/odoo,bplancher/odoo,syci/OCB,stephen144/odoo,hip-odoo/odoo,storm-computers/odoo,ygol/odoo,storm-computers/odoo,bplancher/odoo,hip-odoo/odoo,bplancher/odoo,microcom/odoo,sysadminmatmoz/OCB,dfang/odoo,storm-computers/odoo,optima-ict/odoo,ygol/odoo,stephen144/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,dfang/odoo,ygol/odoo,ygol/odoo,sysadminmatmoz/OCB,bplancher/odoo,stephen144/odoo,stephen144/odoo,optima-ict/odoo,sysadminmatmoz/OCB,dfang/odoo,dfang/odoo,optima-ict/odoo,dfang/odoo,bplancher/odoo,microcom/odoo,syci/OCB,ygol/odoo,optima-ict/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,sysadminmatmoz/OCB,laslabs/odoo,storm-computers/odoo,ygol/odoo,storm-computers/odoo,laslabs/odoo,bplancher/odoo,microcom/odoo,hip-odoo/odoo,microcom/odoo,sysadminmatmoz/OCB,syci/OCB