Saturday, December 21, 2024
6 changes · master
Enhancements to existing features
Odoo has removed an outdated button option that used to distinguish between opening records in edit or read-only mode. Because forms now open ready for editing by default, this cleanup reduces duplicated behavior without changing the expected user workflow.
Original PR description
* = { account, base_import_module, hr_holdidays, payment, website, base}
**Before this commit:**
Historically, buttons with type="edit" opened the record in form view in edit
mode, and those with type="open" opened them in readonly. Since v16, form views
are always in edition, so those two types are redundant.
**After this commit:**
Support of `type="edit"` has been removed from the codebase.
Enterprise: https://github.com/odoo/enterprise/pull/75346
Task-4367373
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prSearch filters now show basic operators using full words instead of symbols, such as equals and greater than. This makes filter building easier to understand for users who are less familiar with mathematical symbols, while keeping the underlying search behavior unchanged.
Original PR description
This commit renames the basic search operators (=, !=, <, >, <=, >=) into their names in full. task-4416442
This update simplifies how Odoo connects to IMAP email servers by using standard Python support for connection timeouts. It reduces custom workaround code, making email retrieval easier to maintain with minimal visible impact for users.
Original PR description
Starting python 3.9, the IMAP4 class has an optional `timeout` parameter. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale order list now shows invoice status separately from the general order status. This makes it easier for users to quickly identify whether orders have been invoiced without opening each order individually.
Original PR description
Since state do not contains the invoice status, we need to add a new field to display the invoice status in the list view. taskId: 4410237
Test coverage in Documents Spreadsheet and Studio was updated to match renamed search operator labels. This keeps automated checks aligned with the latest wording and helps prevent false test failures without changing business workflows.
Original PR description
This commit adapts tests to the rename of basic search operators done in https://github.com/odoo/odoo/pull/190987 task-4416442
Marketing Automation and Planning screens now use the standard record-opening action instead of an outdated edit-specific option. This aligns these modules with the current Odoo behavior, where forms are already editable by default, reducing maintenance without changing expected user workflows.
Original PR description
**Before this commit:** Historically, buttons with type="edit" opened the record in form view in edit mode, and those with type="open" opened them in readonly. Since v16, form views are always in edition, so those two types are redundant. **After this commit:** Support of `type="edit"` has been removed from the codebase. Community: https://github.com/odoo/odoo/pull/190018 Task-4367373