Daily updates from Odoo
Friday, August 12, 2022
8 changes
Enhancements to existing features
Studio tests now share one simulated server across multiple test environments, better matching how several browser tabs use the same real server. This improves test reliability for multi-tab scenarios without changing the user-facing product.
Original PR description
The pyEnv used during tests is based on the mock server to provide server like api. This issue is that when creating multiple environments during tests, a new mock server is created each time. This is not realistic since in a real world scenario, multiple tabs would share a single server. In order to make pyEnv work with multiple tabs tests (e.g. multiple env tests), let's create a single mock server shared between js environment during a test. task-2053917 community: https://github.com/odoo/odoo/pull/97975
The website frontend navigation now keeps the Enterprise behavior for sending users to the app switcher instead of showing a direct app list. This keeps the experience consistent with the Enterprise interface and avoids an unnecessary duplicate menu.
Original PR description
Community counterpart commit is introducing back the fact that the "go to backend" icon in the frontend should display the app list directly. But this is not needed in enterprise as that "go to backend" button is landing on the nice enterprise app switcher.
This update reorganizes how mailbox-related conversations are handled in Odoo Enterprise Mail. It separates mailbox-specific behavior from the general conversation logic, making the code easier to maintain and reducing the risk of future issues.
Original PR description
This commit will simplify the code of Thread by properly splitting all behaviors exclusive to mail.box threads. Community: https://github.com/odoo/odoo/pull/97996
The Knowledge app now uses clearer access wording for chatter, distinguishing read access from write access. This helps align the interface with updated permission handling and reduces confusion around what users can view versus edit.
Original PR description
Chatter access have been split in hasWriteAccess and hasReadAccess. See https://github.com/odoo/odoo/pull/88531 task-2693304
Batch payment PDFs now show the company name and company bank account in the header, making the document easier to identify and verify. They also include the recipient bank account as a separate column, helping users review payment details more clearly before processing or sharing the report.
Original PR description
This commit improves the PDF by - adding the company name and its bank account in the header - adding the recipicient bank account column Task id 2928494
Online appointments without a physical location now automatically generate and include an Odoo meeting link in customer invitations. Booking pages and emails also use clearer joining instructions, reducing manual follow-up for sales teams and making it easier for attendees to join meetings.
Original PR description
Currently, when a calendar event is generated from an appointment that has no `location_id` set (which means it is handled online), the calendar event does not have `videocall_location` set by…
Currently, when a calendar event is generated from an appointment that has no
`location_id` set (which means it is handled online), the calendar event does
not have `videocall_location` set by default, so the salespersons have to
manually send a follow-up to customers on every booked meetings (to share the
URL where online meeting will take place).
This commit improves the behavior for such case, and auto-generates the meeting
URL(videocall_location) for appointments that do not have location set, so that
the URL will be included in the invitation mail being set to the attendees.
Apart from that, this commit also done below changes:
- At the time of booking an appointment, if the appointment has a
`videocall_location`, it will display the label "How to join"
with the online meeting URL.
- Change the "Meeting URL" label to "How to Join".
- Change the "https://meet.jit.si/odoo-xyz" label to
"www.mycompany.com/calendar/join_videocall/xyz".
- Adds the label "Join with Odoo Discuss" if the `base_url` is found in
`videocall_lcation`, otherwise "Join At" instead of simply showing the
meeting URL in calendar event related mail templates and moves the
meeting URL to the bottom of this label.
- To avoid a tiny calendar badge, add style `min-width: 130px`; to the
calendar badge.
- To make the code more robust and, more importantly, testable,
replace `request.session ['timezone']` with `request.session.get('timezone')`.
taskID-2821957Campaign action buttons now use shorter, clearer wording. Users will see "Add Post" instead of "Send Social Post" and "Send Push" instead of "Push Notification", making the campaign form quicker to scan and understand.
Original PR description
PURPOSE To shorten action wordings. SPECIFICATIONS The goal of this commit is to shorten the action button strings in campaign form view as follows, - from `Send Social Post` to `Add Post`. - from `Push Notification` to `Send Push`. LINKS PR #21421 Task 2653806
This update refreshes the spreadsheet engine with a cleaner menu experience, improved dashboard visuals, and more consistent spreadsheet interactions. It also fixes several issues affecting formulas, conditional formatting, scorecards, and spreadsheet editing, making business reports and dashboards easier to use and more dependable.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/6f5082c9 [IMP] spreadsheet: de-clutter cell context menu https://github.com/odoo/o-spreadsheet/commit/5a3ef4d5 [IMP]…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/6f5082c9 [IMP] spreadsheet: de-clutter cell context menu https://github.com/odoo/o-spreadsheet/commit/5a3ef4d5 [IMP] menu_registry: improve menu children https://github.com/odoo/o-spreadsheet/commit/e4eeb808 [REF] sheet: use sheet zone getter https://github.com/odoo/o-spreadsheet/commit/aa297259 [IMP] selection: CTRL+A loop https://github.com/odoo/o-spreadsheet/commit/1fa24eac [FIX] evaluation: formula cell evaluated.value as null https://github.com/odoo/o-spreadsheet/commit/44d42afb [IMP] figures: design improvements for dashboards https://github.com/odoo/o-spreadsheet/commit/cd7691c3 [IMP] menu: keep menu highlighted when submenu is opened https://github.com/odoo/o-spreadsheet/commit/39337c15 [IMP] formulas: add unit parameter to LARGE_NUMBER_FORMAT https://github.com/odoo/o-spreadsheet/commit/1dc2ac2a [FIX] tests: wrong scorecard data https://github.com/odoo/o-spreadsheet/commit/2c865979 [FIX] conditional formats: color scale breaks with error cell https://github.com/odoo/o-spreadsheet/commit/cfaee941 [FIX] composer: grid composer missing CF style https://github.com/odoo/o-spreadsheet/commit/9b10b2e2 [FIX] function: logical function "AND" traceback https://github.com/odoo/o-spreadsheet/commit/8731f3ec [IMP] side panel: prevent user text selection https://github.com/odoo/o-spreadsheet/commit/498c1d14 [FIX] scorecard: high contrast color on titles/descriptions