Tuesday, September 12, 2023
2 changes · master
Resolved issues and error corrections
This change fixes issues in how Odoo prepares and serves website and web client asset bundles, reducing unnecessary refreshes and improving handling of style files. It also streamlines internal asset generation, which should make page rendering and related tests more reliable.
Fixes a problem that could stop the website editor from opening when a form had a pre-filled date or date/time field. The editor now handles and displays default date values correctly, reducing disruption for website content managers.
Original PR description
In odoo/odoo#133349 some code in website was adapted to use the new datetime picker and luxon instead of tempusdominus and moment, but some conversions were improperly performed causing a crash that would prevent the website editor from opening. This commit fixes this issue and also formats the chosen default date/datetime correctly while within the editor.