Tuesday, April 30, 2024
8 changes
3 changes
Resolved issues and error corrections
Updated the subscription checkout test setup so the website and sales order use the same company. This prevents currency access mismatches during automated testing, making subscription checkout validation more dependable without changing customer-facing behavior.
Original PR description
Modifies `test_cart_update_so_recurrence` to use a consistent company for both sale.order and website, resolving access issues to `company_id.currency`. Previously, the test encountered a scenario where `compute_all` could not access the correct currency, as it depended on the company from the sale.order, which differed from the website's company. By aligning the company across both entities, the test now correctly accesses the necessary currency, ensuring reliable test outcomes. Related: odoo/odoo#144389 task-2596416
Removed two unintended lines that were accidentally left in an accounting reports calculation method. This keeps the reporting code cleaner and helps reduce the risk of unexpected behavior in financial report processing.
Original PR description
This commit introduced 2 lines of unwanted code: https://github.com/odoo/enterprise/commit/e72b8dd7c48385cd189319938bbe40a886e9ea53
A bug in accounting reports was corrected so report groupings are validated using the report itself rather than looping through records incorrectly. This helps prevent report errors in affected accounting report configurations and keeps financial reporting behavior reliable.
Original PR description
Introduced in odoo/enterprise@e72b8dd7c48385cd189319938bbe40a886e9ea53
5 changes
Resolved issues and error corrections
This fix corrects an issue where employee names were appearing twice instead of showing the employee's avatar and name in the timesheet page when viewing shared projects on mobile. The problem was caused by a previous update that accidentally duplicated the employee field. Now the employee avatar displays correctly alongside their name.
Original PR description
Steps: - Install timesheet app. - Create a project and task in that project. - Add timesheet in that task. - Share that project. - Open that project in project sharing in mobile. - Open task form and go to timesheet page. Issue: - Employee field is displayin twice instead of displaying avatar and it's name. Cause: - PR-https://github.com/odoo/odoo/pull/95971 here it suposed to add employee avatar in portal but it added same employee that why employee name is showing twice in kanban. Fix: - Added kanban avatar instead of employee field twice to display employee avatar properly. task-3716784 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
This update removes warning messages that appear when Odoo starts by replacing outdated code instructions in the web interface templates. The change modernizes the underlying code without affecting how the web interface looks or functions for users.
Original PR description
**Description of the issue this PR addresses:** On start of Odoo, warnings are present in the console log. These warnings point to webclient_templates.xml using the deprecated directive `t-esc` and suggests replacing with `t-out` **Current behavior before PR:** Warnings are logged to console **Desired behavior after PR is merged:** No warnings logged to console --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves timing-related failures in the automated testing suite for the base automation module. The tests were running too quickly, causing steps to execute before previous actions completed. The fix adds proper wait conditions to ensure each test step completes before the next one begins, making the tests more reliable and stable.
Original PR description
fixes for following runbot errors: - 62449 - 62452
This update corrects a misspelling in the Spanish language translation for Latin America. The country name "República Doiminicana" has been fixed to the correct spelling "República Dominicana". This ensures customers see the accurate country name when using the system in Spanish.
Original PR description
Description of the issue/feature this PR addresses: This got error on wrong translate, customer can't find the correct name. Current behavior before PR: República Doiminicana Desired behavior after PR is merged: República Dominicana --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update temporarily suppresses warning messages that appear when using timezone functions in Python 3.12. While a more comprehensive solution is needed in the future to properly handle all timezone references throughout the codebase, this fix prevents unnecessary warnings from appearing to users now. The team plans to implement a complete solution in a future version.
Original PR description
This is a temporary fix to avoid warnings when using uctnow in python 3.12. A proper fix should be to localize all timezone using datetime.now(timezone.utc) instead of datetime.utcnow(). Unfortunately this is not as straightforward as it seems, since those naive timezones are localize in the code conditionally, but not always. It may take time and an in depth review to fix all occurrence. Not sure yet in witch version we should fix it properly. While in netsvc file, removes the encoding suppress warning Forward-Port-Of: odoo/odoo#163872 Forward-Port-Of: odoo/odoo#163794