Tuesday, January 23, 2024
7 changes · 17.0
Enhancements to existing features
This update improves system monitoring by automatically logging how long scheduled jobs take to complete. By recording job duration at the standard information level, administrators and support teams can more easily track system performance and identify slow-running tasks without requiring additional configuration.
Original PR description
Log the job duration of the usual `INFO` level for easier monitoring. 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
Resolved issues and error corrections
The web editor’s floating toolbar now correctly shows text style options such as headings. This lets users format selected text as intended without missing dropdown choices.
Original PR description
**Current behavior before PR:** selection text and opening toolbar and try to apply header 1 you can see that there is no styles in toolbar. [1] in this pr they remove h1,h2,h3.. tags from the `editor.xml`. **Desired behavior after PR is merged:** Now in floating toolbar dropdown styles are loaded as we have added h1,h2,h3...tags back in `editor.xml`. [1]: https://github.com/odoo-dev/odoo/commit/0a9324b2991b19e1cbc971fb550ea1fd27ec3ff9#diff-d7f83de40358090d3f78ba330ef758e40096ac405d77fea5811cf7064dc5a0ea task-3624505 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Creating a new staff booking in Appointments no longer triggers an error. This helps appointment managers add staff bookings smoothly and avoids disruption during scheduling setup.
Original PR description
Steps to reproduce: - Install appointment - From appointment go to staff booking - Click on New Issues: A traceback is displayed Solution: Set the defaults correctly for the partner_ids. opw-3670885
Fixed an issue where products opened from the website showed a technical Pricer module description instead of the normal Product label. This keeps the website editing experience clearer for users when ecommerce and Pricer are installed together.
Original PR description
### Steps to reproduce: - install **ecommerce** app - install **pos_pricer** module - Open any product from the backend - Click on **Go to Website** - Notice on the top right corner, next to the edit button how the button text is `Model adding the necessary fields to products to use with Pricer electronic tags` instead of the expected `Product` ### Investigation - The name displayed is rendered at https://github.com/odoo/odoo/blob/94052e51ac6654b1915e9d89834e40be16da3eec/addons/website/static/src/systray_items/edit_in_backend.xml#L7 - Which comes from https://github.com/odoo/odoo/blob/94052e51ac6654b1915e9d89834e40be16da3eec/addons/website/static/src/systray_items/edit_in_backend.js#L30-L32 - The `display_name` is related to the model description https://github.com/odoo/odoo/blob/94052e51ac6654b1915e9d89834e40be16da3eec/addons/website/static/src/services/website_service.js#L264-L266 opw-3691349
Fixed an issue where the 'canceled' stage in the Helpdesk Tickets kanban view was not collapsing by default. This improves the user experience by automatically hiding completed canceled tickets, making the view cleaner and easier to navigate. The fix ensures the canceled stage behaves consistently with other collapsible stages in the system.
Original PR description
Versions: --------- - 17.0 Steps to reproduce: ------------------- - Install Helpdesk - In Tickets kanaban view - The 'canceled' stage is not folded by default Issue: ------ - The 'canceled' stage in the tickets kanaban view is not folded by default. Cause: ------ - The 'canceled' stage is not set to be foldable by default. Solution: --------- - By set the 'canceled' stage by default foldable the issue is resolved. task-3610483
This fix ensures that the Indian PAN (Permanent Account Number) field is hidden when users are working with non-Indian companies, even if the Indian accounting module is installed. Previously, the field would incorrectly appear for all companies, causing confusion. This improves the user experience by showing only relevant fields based on the active company's location.
Original PR description
**Before this commit:** If Indian-Accounting is installed in the user's system but the user is in another company, still the l10n_in_pan(PAN) field is visible. **Technical Reason:** attrs was not there to invisible the field. Adding invisible attrs if the active company is not Indian. **After this commit:** l10n_in_pan(PAN) field is not visible if the active company is not Indian. **Task**-3635445 Forward-Port-Of: odoo/odoo#147532
This update fixes an issue in the web editor where font style buttons were incorrectly showing as active when users selected cells. After this fix, font styles will only appear active when actually applied to the selected content, providing a clearer and more accurate representation of the current formatting state.
Original PR description
Current behavior before PR: Font styles shows active while selecting cells. Desired behavior after PR is merged: Font styles should not be active by default. task-3547652 Forward-Port-Of: odoo/odoo#138220