odoo/enterprise#67753

Created by fw-bot
Merged at 6deb85162654876c3d9caa27a9ec46f132acde3a

Statuses:

label
odoo-dev:saas-17.1-master-date-widget-work-with-datetime-imp-laro-L2Ea-fw
head
d83fab0a906f2ce5d4992e88a815f54b5cc9b42a
merged
1 year ago by JavaScript, Mathieu Duckerts-Antoine (dam)
odoo/odoo odoo/enterprise odoo/documentation
17.0 #161705 #67258 #10325
saas-17.1 #175257 #67753 #10481
saas-17.2 #175419 #67835 #10545
saas-17.4 #175446 #67843 #10564
18.0
saas-18.2
saas-18.3
saas-18.4
master #175743 #67988 #10603

[FW][FIX] web_studio: apply datetime widget when unticking show time

After making changes in community PR: odoo/odoo#161705

The datetime widget was not being applied when we dragged and dropped a datetime field from the studio.

Steps to reproduce:

  • Open the Sales module and toggle Studio.
  • Drag and drop a datetime field into the list view.
  • Try to tick and untick the Show time option.

Observed behavior:
When ticking and unticking the show time option, the time part is not hiding before resetting the widget.

Expected behavior:
The time part should be hidden when we tick and untick the show time option without resetting the widget.

After this commit, the datetime widget will be applied when we drag and drop a datetime field from the studio and untick the show time boolean.

task-3698841

Forward-Port-Of: #67258