Daily updates from Odoo
Thursday, May 23, 2024
5 changes
2 changes
Resolved issues and error corrections
This update makes minor corrections to the manufacturing planning setup. It removes an unwanted default forecast value, clarifies a form label, and prevents an error when adding products without an enabled route to the master production schedule.
Original PR description
- remove the default setting from 'To Forecast' field - change the label for field `is_indirect` on form view
This fixes an intermittent automated test failure in financial reporting by making the test wait for the correct sorted report lines. It helps keep quality checks stable without changing how users interact with reports.
Original PR description
issue: when the account_reports tour test is run it sometimes fails with some report line not containing the correct value. The root cause of this issue is that the triggers for 2 of the test steps check the content of lines that are excluded from sorting. This could result in the test step triggering before sorting of the report is completed, which will in turn fail the testcase. fix: while testing the sorting mechanism only trigger on lines that are included in the sort. This ensures the next test step is triggered after sorting is completed.
3 changes
Resolved issues and error corrections
A testing component was moved from the CRM Enterprise module to the correct location, enabling community users to run related quality assurance tests. This fix resolves an issue where certain tests were inaccessible to users without the enterprise version.
Original PR description
This was currently defined in `crm_enterprise` which made impossible to run QUnit tests dependent on this model in community. runbot-65889 https://github.com/odoo/odoo/pull/166475
This fix resolves an issue in the e-learning app where the word "false" was incorrectly displayed when a quiz had no description. The problem occurred because the code wasn't properly handling empty description values, causing them to be converted to the text string "false" instead of remaining blank. Users will no longer see this unwanted text when viewing quizzes without descriptions.
Original PR description
Inside our `_fetchQuiz` we pass the markup() to the quiz description to check that the description we have introduced is safe to be converted into html, the problem is that this markup() is not handling properly when the value of `quiz_data.slide_description` is false, so instead of not displaying anything we are sending a string of 'false'. Steps to reproduce: 1. Create quiz-type content inside a course in the e-learning app. 2. Do not add a description to the quiz. 3. Go to the website page of the course. 4. Open the quiz in fullscreen. 5. A "false" message is displayed on the top-left corner. opw-3887445
A test setup function was incorrectly placed in the enterprise-only CRM module, preventing community users from running related tests. This fix moves the function to the standard CRM module so tests can run properly for all users.
Original PR description
This was currently defined in `crm_enterprise` which made impossible to run QUnit tests dependent on this model in community. runbot-65889 https://github.com/odoo/enterprise/pull/63056