Wednesday, January 10, 2024
10 changes · master
Resolved issues and error corrections
This update fixes intermittent failures in automated web tests by ensuring location changes are handled at the right time. It helps keep the testing pipeline more reliable, reducing false failures and delays in validating changes.
Original PR description
Before this commit, the tests that modify the hash of the location sometimes failed on runbot, because it might happen that the hashchange event is triggered in the next animation frame (the event isn't triggered synchronously). Now, a helper function was created that modify the location, and wait\ for the next animation frame. Fixes runbot issue 54918 Fixes runbot issue 54917
Indian point-of-sale receipts now correctly show the HSN code on tickets, helping businesses provide more complete tax-related information to customers. The receipt template was also updated to use the current supported output method, reducing future maintenance risk.
Original PR description
In this PR ------------- - **[FIX] l10n_in_pos: resolve HSN Code not showing up on ticket** - **[IMP] l10n_in_pos: replace t-esc with t-out** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail app no longer shows or allows the call action when a user is chatting with themselves. This prevents confusing or unnecessary call attempts in self-conversation threads.
Original PR description
**Before this PR:** When a user is in conversation with himself, the user had the option of calling as the call button is visible in that particular thread. **After this PR:** Now, the when the user is in conversation with himself, in that case, the self call is restricted for that thread. task- 3502904
A fragile automated test was updated so it no longer depends on a specific capitalization of a demo user name. This helps keep nightly checks reliable when demo data varies, reducing false build failures for the mail area.
Original PR description
The original test is breaking during no demo nightly build. https://runbot.odoo.com/web#id=55136&view_type=form&model=runbot.build.error&menu_id=405&cids=1 The problem was the hard coded `@Mitchell Admin` in the expected result. The case can be different when the demo data changes. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A payroll contract salary test was updated so it no longer depends on demo employee data. This helps keep the Belgian payroll accounting test suite reliable when demo data is not installed.
Original PR description
Marc Demo is used in a contract salary tour and shouldnt because he is part of demo data
A failing automated test for Amazon sales integration was corrected so it no longer relies on optional demo data. This helps keep nightly quality checks reliable without changing customer-facing functionality.
Original PR description
The test was failing on the nodemo nightly build because it was using demo data. The dependency on the demo data has now been removed.
The appointment performance tests were updated to reflect an extra image lookup added to appointment pages. This keeps automated checks aligned with the current appointment display behavior and prevents false test failures.
Original PR description
Following: e02ec53a9e91343423b3f54a766bce4919631328 We introduced a new image_1920 field on the appointment.type model. This field is read on the main appointment route, to show the appointment image on the right side panel containing the meeting information. Meaning we have an additional request towards the "attachment" model to fetch that extra image. We forgot to increment all query counters that hit that route by one. This commit fixes it. Task-3607606
This update fixes how the VoIP feature reads its settings after a recent internal change to the Discuss settings structure. It helps prevent VoIP behavior from breaking due to outdated settings access, with no expected change to normal user workflows.
Original PR description
Follow-up of https://github.com/odoo/enterprise/pull/50720 PR above turned Settings into a model, to ease inserting data from the server. To accomodate from this change, accessing to settings has to go to `store`. Some LOCs were not properly adapted, which this commit fixes.
This fix prevents payroll updates from unnecessarily rewriting existing payslip line details. It helps module updates run more efficiently and reduces the risk of avoidable changes to historical payroll records.
Original PR description
Purpose ======= Avoid writing on all the existing payslip lines on module update.
This change makes internal web client tests more stable by ensuring page address changes are fully processed before checks continue. It helps reduce random automated test failures, improving confidence in build results without changing user-facing behavior.
Original PR description
Before this commit, the tests that modify the hash of the location sometimes failed on runbot, because it might happen that the hashchange event is triggered in the next animation frame (the event isn't triggered synchronously). Now, a helper function was created that modify the location, and wait\ for the next animation frame. Fixes runbot issue 54918 Fixes runbot issue 54917