odoo/enterprise#67843

Created by fw-bot
Merged at 92612b7ed3f64c670242cba54c13c2636136e730

Statuses:

label
odoo-dev:saas-17.4-master-date-widget-work-with-datetime-imp-laro-B4UI-fw
head
391c2b0062e26bb9e6d3f9ecb04d6af656dfc71b
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