Tuesday, February 4, 2025
8 changes
1 change
Resolved issues and error corrections
This fix moves mail-related test dependencies out of the core resource module and into the resource mail module where they belong. As a result, installing the resource module alone no longer causes an error when running unit tests, improving reliability for testing and maintenance.
Original PR description
Before this commit: 1. Install `ressource` module 2. In debug, open "Run unit tests" debug menu 3. Error pop-up: ```js Global Error: stack trace available in the console Missing dependencies: @mail/../tests/mail_test_helpers ``` After this commit: No error and units tests can proceed Related runbot task: https://runbot.odoo.com/odoo/runbot.build.error/72187
7 changes
Resolved issues and error corrections
The recruitment app now shows the correct number of related applications for a candidate, including archived or refused ones. This prevents confusion when users refresh a page or open the Other Applications button and expect consistent results.
Original PR description
To reproduce: ============= - create 3 applications for same candidate - open one application and archive/refuse it - refresh the page -> smart button **Other Applications** displays 2 - click on the smart button -> only 2 applications are listed Problem: ======= - when refreshing the page, the context is lost so `other_applications_count` is computed without `active_test=False` so non active records are excluded - when clicking on the smart button, the current record is excluded from the domain Solution: ========= - compute `other_applications_count` with `active_test=False` - add the current record in the domain when clicking on the smart button opw-4488834 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an unwanted border that appeared around the rating image on rating pages. The rating display now looks as intended while keeping the existing rating functionality unchanged.
Original PR description
Description of the issue/feature this PR addresses: Related ticket: https://www.odoo.com/odoo/my-tasks/4482430 The 'btn' class was incorrectly applied to the rating label in rating_templates.xml, which affected the styling, making extra border line displaying on the rating image. Removing this class restores the expected appearance. Current behavior before PR: there will be weird border on the rating page  Desired behavior after PR is merged: The border will be invisible and everything else still functional without any influence --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an accounting issue that could appear during upgrades when a contact and its parent company belong to different companies. It helps ensure partner information can be accessed reliably, reducing upgrade failures or accounting disruptions.
Original PR description
Since https://github.com/odoo/odoo/commit/25cf037c we're trying to access `ResPartner.commercial_partner_id` but there are some issue with upgrade as it appears that some partners belong to a different company than their parent partner.
This fix removes an incorrect percentage display from account report subtotals in the invoicing spreadsheet dashboard. Business users will see clearer, more sensible financial figures in dashboard pivot views.
Original PR description
Some pivots were defined with a wrong format on their measure, namely a display of percentage on the subtotal of account reports which makes no sense. task -4546273 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
Users can no longer accidentally clear the email alias domain on documents or folders. This prevents confusing setup prompts and avoids a state where the alias domain cannot be restored from the document view.
Original PR description
Steps to Reproduce: - Create an email alias in the settings. - Create a document or folder record. - Delete the alias domain from the document detail view. Technical Reason: When the alias_domain_id field is cleared and saved, the system writes False to the field. This causes Owl to incorrectly render a button prompting the user to set up an alias domain, even though one is already configured. Additionally, there is no functional way to restore the alias_domain_id field once it has been cleared. Fix: This commit prevents users from clearing the alias_domain_id field by raising a validation error if they attempt to do so. Task-4528283
This fix ensures that employees can open document previews from the My Documents list view in their profile. It loads the correct document action so the list view behaves as expected, reducing confusion when accessing HR documents.
Original PR description
Bug === 1. Open your profile -> My Documents 2. Switch to list view => You can not open the preview The reason is that the JS of the list view is not loaded, because we don't execute the right action. Task-4546797
The delivery carrier test setup now creates the users it needs instead of depending on optional sample data. This helps ensure automated checks run reliably in environments where demo data is not installed, reducing false failures during validation.
Original PR description
This PR fixed tests when runbot runs without demo data installed. Creates users instead of referencing them and editing.