Daily updates from Odoo
Monday, March 3, 2025
6 changes
1 change
Resolved issues and error corrections
This fix restores an email address for the admin user during Knowledge UI tests. It prevents automated test failures in setups without demo data, helping keep the Knowledge app validation process stable.
Original PR description
The removal of `MailCommon` in https://github.com/odoo/enterprise/pull/80180 for `TestKnowledgeUICommon` had the unintended side effect of removing the email from the user `admin`. It happens that tours using that class actually send emails and thus require the email address to be set on the user, which is not the case in no demo runs. Runbot Error 145750
5 changes
Resolved issues and error corrections
Fixed an issue where a point of sale order could be saved without a responsible user when different employees used the same POS session. This ensures backend order records correctly reflect the user who finalized the sale, improving traceability and reporting accuracy.
Original PR description
Currently, when using the same pos session with different users can result in some order being created without user_id. Steps to reproduce: ------------------- * Open register as Mitchell Admin * Make a pos order, pay with cash, validate, select 'new order' * Log out * Log with Marc Demo and open the pos * Make a pos order, pay with cash, validate * In the backend, see both orders > Observation: For the second order, Mard Demo is written in the chatter as the one who created the order but on the form no user is registered Why the fix: ------------ This happens because when selecting 'new order', an order gets created which will then be loaded back when logging with the second user. When loaded the order has an unidentified user but still has a user_id in the vals of the setup. We do not want to use this user as it is the one that created the order, not the one who finalized it. opw-4566194
The website recruitment form now makes toggle labels available for translation, so they can appear correctly in different languages. This improves the experience for multilingual job applicants without changing recruitment workflows.
Original PR description
- add the _t() to translate the labels coming from options. - add the label values to the template to be available on the pot file Task: 4488490 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small typo in the information shown for product combinations in the online store. The change helps keep customer-facing product details clear and professional without altering functionality.
Original PR description
Fix a typo introduced in 4ec8d2198a1a042cde397b73e2afd56e108c7892
Hungarian invoice PDFs now apply the standard small company logo styling. This prevents oversized logos from disrupting invoice layout when a large image is uploaded.
Original PR description
The company logo on the hungarian invoices are too big if the used picture is big, because the size is not limited on the PDF report. So we set the class "o_company_logo_small" on the picture just like on everywhere in Odoo. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error that could occur in Safari 18.3 when users returned from the Sales app to the home menu. It improves reliability during guided interface behavior so users can continue navigating without interruption.
Original PR description
Steps:
- Install `sale_management`
- Open Sales
- Go back to home menu
- traceback
`getParentScroll` can return `null`
```js
const scrollParentElement = getScrollParent(this.currentTarget);
const targetBounds = this.currentTarget.getBoundingClientRect();
if (targetBounds.bottom > scrollParentElement.clientHeight)
```
```js
export function getScrollParent(element) {
if (!element) {
return null;
}
```
This commit adds a fallback for the return value of `getScrollParent` to
prevent this traceback.
opw-4600271