Tuesday, September 12, 2023
3 changes · master
Code cleanup and technical improvements
This update removes obsolete helper code from the web module that is no longer used. It helps keep the codebase simpler and easier to maintain without changing the user experience.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
An obsolete part of the Documents sharing dialog was removed after its functionality had already been taken out. This is a low-risk cleanup that simplifies maintenance without changing the user experience.
Original PR description
Purpose ======= In 20f3126f603a98fb4cc540e89ea41ea6d6ae6b49 , all the code of `ShareFormViewDialog` has been removed, but not the class itself. This commit removes `ShareFormViewDialog` because it's not useful now. Task-3495430
The rental date selection on the website now uses Odoo's own date picker instead of an older third-party component. This reduces reliance on outdated external libraries and helps keep the rental shopping experience easier to maintain over time.
Original PR description
When converting the webclient to owl, we wrote our own daterange picker, this commit converts uses of the moment-based daterange picker library to use our own instead. Since the daterange picker library depends on both jQuery and momentjs, this is also a step towards eventual removal of those libraries that we no longer need. Community: https://github.com/odoo/odoo/pull/134647