Daily updates from Odoo
Thursday, August 15, 2024
6 changes · 17.0
Resolved issues and error corrections
This update fixes two display problems in the sign module: labels with hourglass icons that were overlapping action buttons, and a search panel that was taking up too much space on smaller screens, hiding important content. The changes improve the layout so all elements display correctly regardless of screen size.
Original PR description
Before this commit, the bottom right label in sign templates which included the hourglass icon was overlapping the action buttons and the search panel in the left position of the screen was occupying a big part of the screen when the width was small, hiding the sign templates and sign documents in the bottom of the page. After this commit, the bottom right label does not overlaps the action buttons anymore and when the screen is small (in width) we hide the search panel for showing the sign templates and sign documents correctly. task-4077791
The field service reporting tour has been fixed to run independently regardless of whether demo data is loaded. Previously, the tour relied on specific demo data being present, which caused it to fail in environments without demo data. The fix adds fallback selectors to handle both scenarios, ensuring the tour works consistently across all installations.
Original PR description
- 17.0 <hr> - Currently, the tour is written according to the demo data. The selector .o_form_sheet div[name] input will match if the work template is 'Device Installation and Maintenance' . This template is available in the demo. If the demo loads, the default 'Device Installation and Maintenance' will be set via the post hook. When the demo does not load, we will have the default template instead. That's why we used the .o_form_sheet p.oe-command-temporary-hint class in the OR condition. - Remove import `loaded_demo_data` from industry_fsm tests because it was not in use from this [commit](https://github.com/odoo/enterprise/commit/90ca61c62ecb0e5ddcf4d1e1ec9e0a2bf27c27f1). task-4086026
Fixed a bug where users could resend signing request links even after the request was already completed, canceled, or refused, causing unwanted duplicate emails. The system now properly checks the status of signing requests before allowing resends, preventing email spam and confusion.
Original PR description
Versions:
------------
17.0
Steps to reproduce:
-------------------------
1. Send a sign request with 2 signers, setting a reminder to be sent every day.
2. Two emails will be sent to different signers.
3. Change the local date to 2 days ahead.
4. Run the "Send: Sign Reminder" cron.
- Two more emails will be received, and one signer will complete their sign request.
5. Change the dates again and run the cron job.
- One email will be sent to the remaining signer.
6. From the old sign request email, copy the link and try to resend it.
- The user should not be able to resend the new link.
Issue:
-------
Resending the link does not check the state of the sign request and items, allowing multiple sends.
Solution:
-----------
Resending the link is only possible if the request and items are not already completed, canceled, or refused.
task: 4002440This update fixes warning messages in Kenya's electronic invoicing system to only appear when a company has an active OSCU (Online Sales Control Unit). Previously, warnings about quantity mismatches on invoices and bills of materials would display regardless of whether the company was using Kenya's EDI system, causing unnecessary alerts for non-Kenyan users. The change also removes unused code to keep the system clean.
Original PR description
Two warnings need to be conditionally hidden if the company does not have an OSCU active: - the warning on invoices that the delivered quantities do not match invoiced quantities; and - the warning on BoMs. In addition, we take the opportunity to remove the method `env['product.product']._compute_l10n_ke_validation_message` which is dead code.
This fix prevents the creation of unnecessary zero-balance tax lines when reconciling bank statements with 0% tax rates. Previously, users would see empty tax lines in the reconciliation widget that would persist after validation. This update removes those unnecessary lines, making the reconciliation process cleaner and more accurate.
Original PR description
Have a 0% Tax Open bank reconciliation widget Reconcile a bank statement with a manual operation including the 0% tax Issue: On the reconciliation widget a void line will be shown After validation the 0 balance tax line will be created opw-4043498 Forward-Port-Of: odoo/enterprise#68159 Forward-Port-Of: odoo/enterprise#67458
The payroll module's guided training tours were broken due to outdated references to removed features. This fix updates the tours to work with the current payroll system, ensuring employees can properly learn how to use payroll functions through the interactive guided experience.
Original PR description
This commit fixes the broken tour in payroll as the previous one depended on actions that have been removed. task-3621276