Friday, February 2, 2024
9 changes · 17.0
Resolved issues and error corrections
Fixed a missing instruction in the Documents module tutorial that guides users to close the document preview after opening it. This ensures the tutorial flow is complete and users receive proper guidance at each step of the process.
Original PR description
Before this commit: During the execution of this tour, at a specific step, we are required to click a document to open its preview. But the prompt to close the preview is missing as the preview opens. After this commit: The user is prompted to close the preview. task-3537521 Forward-Port-Of: odoo/enterprise#54864 Forward-Port-Of: odoo/enterprise#48917
This update modifies the Knowledge module's test suite to accommodate a performance improvement in how urgent saves are handled. The system now uses a more efficient method (sendBeacon) instead of the traditional approach, which required the tests to be updated to match this new behavior. This ensures the tests continue to work correctly with the improved save mechanism.
Original PR description
This commit is the counterpart of odoo/odoo#149944 where we use sendBeacon instead of the classical xhr in the case of an urgent save. As a consequence, a knowledge needed to be adapted. Task 3537838 Forward-Port-Of: odoo/enterprise#55292 Forward-Port-Of: odoo/enterprise#54634
The monthly declaration tests for Luxembourg payroll were failing because they referenced 2022, which is no longer a valid year in the system. This fix freezes the test date to December 31, 2022, ensuring the tests remain valid and preventing similar issues in the future.
Original PR description
These tests are testing the monthly declaration in 2022. As of today, 2022 is no longer a valid year in the wizard, thus causing the tests to fail. In order to ensure that such an issue won't happen again, we will freeze the time for these tests to dec 31 2022, so that the year will always be valid. Forward-Port-Of: odoo/enterprise#55583
A test in the subscription module was failing when run during the month of February due to date-related logic. This fix ensures the test runs reliably regardless of the current month, improving the stability of our automated testing process.
Original PR description
runbot ticket: 56443 Forward-Port-Of: odoo/enterprise#55622 Forward-Port-Of: odoo/enterprise#55406
This fix corrects the positioning of dropdown menu carets (small arrows) in the Pivot view, which were incorrectly placed after a previous update. A prior change that was needed for Search Bar menus is no longer necessary since those menus were converted to accordions, allowing us to remove it and restore proper caret alignment in dropdowns.
Original PR description
[Commit [1]](https://github.com/odoo/odoo/commit/6375ca94cdfe27fc617565ef6bba4826d112e740) introduced necessary change to resolve a layout issues on the caret icon in the Search Bar menus. But at the…
[Commit [1]](https://github.com/odoo/odoo/commit/6375ca94cdfe27fc617565ef6bba4826d112e740) introduced necessary change to resolve a layout issues on the caret icon in the Search Bar menus. But at the same time, it introduced a layout issue on dropdowns in the Pivot view: carets were no longer placed on the right. But since [commit [2]](https://github.com/odoo/odoo/commit/976491e01272336bc34abcdcec2718f83e19c5fc), the Search Bar menus have become accordions instead of dropdown menus. The change made in [commit [1]](https://github.com/odoo/odoo/commit/6375ca94cdfe27fc617565ef6bba4826d112e740) is therefore no longer necessary. We can now remove it to fix dropdown menus in the Pivot view. task-3718186 | Before | After | |--------|--------| |  |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix corrects the positioning of dropdown arrow icons in the Pivot view, which were incorrectly placed after a previous layout change. Since the Search Bar menus were converted to accordions, the original workaround is no longer needed and has been removed, restoring proper dropdown functionality.
Original PR description
[Commit [1]](https://github.com/odoo/odoo/commit/6375ca94cdfe27fc617565ef6bba4826d112e740) introduced necessary change to resolve a layout issues on the caret icon in the Search Bar menus. But at the…
[Commit [1]](https://github.com/odoo/odoo/commit/6375ca94cdfe27fc617565ef6bba4826d112e740) introduced necessary change to resolve a layout issues on the caret icon in the Search Bar menus. But at the same time, it introduced a layout issue on dropdowns in the Pivot view: carets were no longer placed on the right. But since [commit [2]](https://github.com/odoo/odoo/commit/976491e01272336bc34abcdcec2718f83e19c5fc), the Search Bar menus have become accordions instead of dropdown menus. The change made in [commit [1]](https://github.com/odoo/odoo/commit/6375ca94cdfe27fc617565ef6bba4826d112e740) is therefore no longer necessary. We can now remove it to fix dropdown menus in the Pivot view. task-3718186 | Before | After | |--------|--------| |  |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Documentation and clarification updates
Innovyou (innoviù Srl) has been added as a corporate contributor to the Odoo project by signing the Corporate Contributor License Agreement (CLA). This legal documentation update allows the company to officially contribute to Odoo's development.
Original PR description
On behalf of: @innovyou info@innovyou.co Description of the issue/feature this PR addresses: Added corporate signature for Innovyou (innoviù Srl).
Miscellaneous changes
Sometimes users can be hasty and press the confirm button before the form has finished saving When the validation_type is 'no_validation', this will cause an error dialog to show up since it will try to confirm after it has already auto-validated This change will remove the action buttons from the form view if the record has not been saved --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#151651 Forward-Port-Of: odoo/od
Original PR description
Sometimes users can be hasty and press the confirm button before the form has finished saving When the validation_type is 'no_validation', this will cause an error dialog to show up since it will try to confirm after it has already auto-validated This change will remove the action buttons from the form view if the record has not been saved --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#151651 Forward-Port-Of: odoo/odoo#150244
Following commit 94d4205, _has_to_be_signed and has_to_be_paid now consider draft quotation, as such, we now have to also ensure a quotation isn't expired before allowing it to be signed and/or paid. opw-357130 Forward-Port-Of: odoo/odoo#152216
Original PR description
Following commit 94d4205, _has_to_be_signed and has_to_be_paid now consider draft quotation, as such, we now have to also ensure a quotation isn't expired before allowing it to be signed and/or paid. opw-357130 Forward-Port-Of: odoo/odoo#152216