Thursday, March 6, 2025
6 changes · 17.0
Resolved issues and error corrections
This fixes three wording mistakes in the Spanish Modelo 303 and 390 tax report line names. The correction improves clarity and consistency in tax reporting documents without changing calculations or workflows.
Original PR description
I spotted three mistakes in the naming of the lines in the Modelo 303 and 390 reports. This PR fixes them and updates the .po, .pot files accordingly.
This fixes a manufacturing test issue that could occur when other modules add time-off periods to the standard work calendar. The change helps ensure productivity loss calculations handle zero-minute durations without causing a crash, improving reliability of manufacturing workflows and testing.
Original PR description
It's due to other module creating leaves on the 40h/week calendar. Since it's set on the workorder. During the productivity loss creation the duration could cost for 0 minutes if it's during the leave of a workcenter opw-moc 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
Invoices using a payment term no longer fail during preview if a discount is added to that payment term after the invoice was saved. This prevents an unexpected error screen and keeps invoice review workflows running smoothly.
Original PR description
…g payment term Steps to reproduce: - create an invoice - define the "30 days payment term" - save the invoice - define a discount for the 30 days payment term - confirm the invoice - Preview the invoice Issue: - Stack Trace Cause: There is no discount_date added when modifying the payment term (makes sense, we will not modify every line linked to move having that payment term) Solution: ugly fallback but but since the field is not required and no recomputation is done and the ps tech needs this for one of their module and the flow is easily reproducible we have enough reasons to apply it opw-4619835
In the external and internal layouts, some default variables are set conditionally (`o` in particular) This commit evaluates the content of the t-if expression to imitate what the real qweb does. Otherwise, the variable risks of being erased from the context of the node, which is necessary to add field on the right variable with the right type. opw-4592446
Original PR description
In the external and internal layouts, some default variables are set conditionally (`o` in particular) This commit evaluates the content of the t-if expression to imitate what the real qweb does. Otherwise, the variable risks of being erased from the context of the node, which is necessary to add field on the right variable with the right type. opw-4592446
This fixes an unstable automated test in Odoo Studio that could fail randomly when autocomplete results changed at the same time as the test was running. The change helps keep quality checks dependable and reduces false failures during validation.
Original PR description
Add a step that ensures a name_search has been fired. The hypothesis is that the dropdown item is already present before editing the m2o's value (that triggers a name_search) The tour advances, captures a trigger but right there the rpc returns, modifies the DOM and the captured element is not there anymore, crashing as a consequence. runbot-error-67580
The Frontdesk welcome screen now keeps the phrase "Welcome to" together for translation. This helps translators use the right wording in each language, making the visitor greeting clearer and more natural.
Original PR description
Currently on the Frontdesk welcome screen the words "Welcome" and "to" (welcoming visitors to your company) were exported separately, because they weren't in the same parent node. This caused translation issues, since the word "to" is translated differently depending on the context and was not scoped to the module (Javascript translation). This commit puts "Welcome to" together in the same parent node, so the phrase is exported as a whole. [task-4421055](https://www.odoo.com/odoo/project.task/4421055)