Daily updates from Odoo
Saturday, April 18, 2026
26 changes · master
New functionality added to Odoo
This update introduces a system for customers to rate the service provided by field technicians. After an intervention is completed, customers will receive an email requesting their feedback, allowing for better tracking of technician performance and improved service quality. A dedicated reporting menu provides an overview of all customer ratings.
Original PR description
We introduce customer ratings specifically for field service interventions. Upon completing the shift or signing the customer report (if enabled), a customer rating request is automatically sent by email to the related partner. They will therefore have the possibility to rate the intervention, and hence the delivered technician service. A "Customer Ratings" reporting menu is also added, providing an overview of all feedback, which is also accessible through a stat button on the shift itself to track technician performance. Related: https://github.com/odoo/upgrade/pull/9946 task-5359031
This update introduces a new wizard within Odoo Enterprise to simplify the process of submitting VAT returns to the Slovakian tax authority (Finančná správa). The wizard guides users through the necessary steps, improving efficiency and accuracy for VAT reporting. This change supports compliance with Slovakian tax regulations.
Original PR description
Added a wizard to guide users through the submission process on Finančná správa. task-6040973
This update introduces basic financial reports specifically tailored for Uzbekistan businesses. It includes essential reports like the Balance Sheet and Profit & Loss Report, providing localized reporting capabilities for our customers in Uzbekistan.
Original PR description
This commit introduces basic report package for Uzbekistan and includes Balance Sheet and Profit & Loss Report. task-3927927 Community PR - https://github.com/odoo/odoo/pull/241811 Forward-Port-Of: odoo/enterprise#113802 Forward-Port-Of: odoo/enterprise#103136
Enhancements to existing features
This update enhances the way invoice line information is displayed within Odoo's accounting modules (accountant, asset, and intrastat). Specifically, the layout of related fields has been streamlined for better clarity and usability, and key data like deferred dates and product countries are now more prominently positioned. This change improves the user experience for managing invoices and related financial data.
Original PR description
* Rename the widget from m2o_with_extra_m2o_fields to m2o_with_extra_fields. * Place the deferred date under the account, and required when the deferred checkbox is set on the account. * Stack Product Country under the Intrastat in the same column, with 'Product Country' visible when Intrastat is set. * Remove 'Depreciation Model' and 'Product Country' from optional check boxes. task-5376190
This update introduces a system for setting closing dates for employee types within payroll. It now alerts administrators when payrun closing dates are not configured for specific employee types, ensuring accurate payroll processing. This enhancement improves payroll compliance and reporting.
Original PR description
In this commit, we added a payroll_closing_date for the employee type model. We added a warning to notify the user when the payrun closing date for that employee type. task-5922782
This update streamlines project reporting by refining how time data is tracked and displayed. Specifically, the 'Timesheets and Planning' stat button has been removed and replaced with a focus on 'Planned' time, providing a more accurate view of project margins. This change enhances the clarity and reliability of project performance insights.
Original PR description
- remove `Timesheets and Planning` stat button from project form view - repositioned the `Planned` stat button - modify the `Timesheets` stat button value to be measured with planned instead of allocated time --- task-6085988
This update enhances the speed of key financial reports (like Balance Sheets) by pre-calculating and storing their results. This avoids slow, full-history calculations, especially for large databases, and ensures consistent reporting. It achieves this through a new caching mechanism, making reports faster and more reliable.
Original PR description
**1) Context** Some reports (typically Balance Sheets) compute themselves over the whole accounting history, up to a certain date. On big databases, this is a problem, as the more the accounting…
**1) Context** Some reports (typically Balance Sheets) compute themselves over the whole accounting history, up to a certain date. On big databases, this is a problem, as the more the accounting grows, the slower those reports get. To handle that, a lot of softwares (as well as Odoo, before 9.0) require creating opening entries at the beginning of every fiscal year, to just carry the balance of each account from period to period. The report would then only consider the entries of the current year, which would include the initial balance. The problem with opening entries is that they can very easily get desynchronized from actual accounting history. You can't modify something coming before them without needing to fix them as well, and it's very error-prone. Moreover, they do have an existence into the accounting itself, cause noise, and are far from ideal for handling customer accounts. For all those reasons, they were removed in Odoo 9.0, and we are not reintroducing them. What this commit does, however, is introducing a new mechanism that precomputes and somehow caches those parts of the reports that consider the entire history. This new mechanism is designed to be at the same time completely invisible to the users (outside of the obvious performance gains, that is), resilient, and not too technically complex (I promise). **2) How it works** The key idea is to cache the results of the calls to report engines. For this, we introduce a new model: account.report.snapshot. An instance of this object corresponds to the result of a single engine call. - Snapshot generation Snapshots are generated asynchronously, via a cron. This cron does not run periodically by itself (to avoid useless server load). Instead, it is only called via explicit triggers, when snapshots need to be refreshed. It is made to be as lightweight as possible, and will create only one snapshot at a time, retriggering itself if needed, so that other crons' execution can easily be interleaved with it. The cron is typically triggered when modifying the lock date: a new snapshot is then created for the appropiate engine calls at that new lock date. If no snapshots were done before, we basically generate them on the last 5 years, so that period comparisons can also benefit largely from it. Snapshots are incremental: when a new snapshot is taken, it uses the previous snapshot made for the same parameters on an earlier date, and only calls the report engine on the period that's not already covered. - Impact on engines A report engine (custom or standard) can be made snapshotable using a dedicated decorator. When it's declared like that, its call will be wrapped in another function that will make sure to only call the engine on the period that's not already covered by a snapshot. If the period is fully covered, the engine will simply not be called, and we hence will run no additional SQL. This makes for tremendous performance gains. **3) Requirements and limitations** - Not all engines are snapshotable The computation of an engine needs to be dividable into summable "partitions" in order to allow snapshots. I other words, computing all the parts separately and then putting them together must give the same result as directly computing the full thing. These partition will be created by the cron, splitting the data by date and company (a snpashot is always made for a single company, at a given date). If an engine's computation can be partition, but requires some post-processing using the global results, it's possible to snapshot a single subfunction instead of the engine itself. We call that a subengine. See what account_codes standard engine is doing for an example. - Snapshots are generated for default options only The cron only generate snapshots for the default values of the report's filters. So, if the user changes the value of one of those filters (except the date, of course), the recomputation of the report will not find any snapshot. This is deemed acceptable : the goal is not to make every single possible case super fast. We just want the basic and most common flows to be seamless. - No multi-currency consolidation As it is, multi-currency consolidation is not supported by snapshots. **4) Partners, read this** Snapshots can of course be generated by custom code as well. This could be the key to long-going performance issues in specific flows : just make an additional snapshot for the specific options dict involved in that flow. We'll refine the feature a little more in the future to give even more flexibility to those cases. **5) Additional changes made by this commit** - Record Rules don't impact report computation anymore Before this commit, and since the dawn of times (AKA, version 9), the computation of the report applied custom-made record rules created for account.move.line. This was an old implementation choice that we kept for years because we had no need of removing it, despite the fact we saw no use for it. This has now been removed: if we kept it, snapshots would have been impossible, since using them on a database with such record rules could have given wrong results (because different users could technically have needed to see different amounts for the same report, with the exact same filters). - Custom engine signatures All custom engine signatures change: they now use exactly the same parameters as standard engines, and not a simplified version of it anymore. The format of their return values changes in the same way. This is done so that the @snapshotable_engine decorator can be used indistinctly on both standard and custom engines. - Engine function names Engine functions used to require different prefixes in their names for standard and custom engine ; not anymore. Everything is now prefixed _report_engine_. It's clearer and makes the computation of snapshots easier. task-5891829
This update improves the demo data for Odoo's voip applications, ensuring a more comprehensive and accurate representation of call scenarios. It adds diverse call definitions, statuses, and user types to the demo data, and fixes rendering issues for call status displays. This improves the demo's usefulness for training and understanding the voip features.
Original PR description
*: voip_ai, voip_crm, voip_helpdesk, voip_project This PR reviews all the demo data in voip apps to have most (all?) possible call definition, with different status, different users, etc. And fixes things along the way. task-5499027
This update allows users to customize their timesheet assistant rules, providing greater flexibility in how time tracking is managed. Timesheet administrators can now share these rules with specific teams or make them globally available, streamlining time tracking processes and improving team efficiency.
Original PR description
This PR adds the ability for user to configure their own assistant rules. Timesheet admins can also share rules with a subset of users, or with no one, making them global rules. Task-6116548
This update allows each company within Odoo Enterprise to manage its own WhatsApp templates and settings independently. Previously, all companies shared the same templates, limiting flexibility. Now, companies can tailor their WhatsApp communications for better customer engagement.
Original PR description
Previously, WhatsApp templates were linked globally via config parameters, so all companies shared the same templates and new companies could not access the default templates. This update moves template fields to res.company and exposes them in res.config.settings, allowing each company to configure its own WhatsApp settings and templates independently. task-5439257
This update introduces the ability for users to seamlessly transfer ongoing VoIP calls to another device, such as a different computer or mobile phone. This improves collaboration and flexibility by allowing users to continue conversations without disruption, regardless of their location or device. The transfer process is automated and reliable, ensuring a smooth user experience.
Original PR description
Introduce a VoIP feature that allows users to transfer an ongoing call from one tab/device to another (e.g., from desktop Chrome to desktop Firefox or a mobile device). The transfer follows a pull…
Introduce a VoIP feature that allows users to transfer an ongoing call from one tab/device to another (e.g., from desktop Chrome to desktop Firefox or a mobile device).
The transfer follows a pull model: the target device (Device B) initiates the process via "Switch here". It requests the source device (Device A) to send a SIP REFER to its own AOR (Address of Record). The PBX then issues a new INVITE to the AOR, which Device B automatically accepts, completing the transfer.
Task-4417476
```mermaid
sequenceDiagram
participant A as Device A
participant PBX
participant B as Device B
participant C as Device C
Note over B: create pull
B->>A: bus: voip.call.pull/initiate
Note over A: create push
A->>C: bus: voip.call.pull/suppress_invite
Note over C: _ignorePhoneNumbers(phone_numbers)
A->>B: bus: voip.call.pull/pending_entries
Note over B: store pendingEntries on pull
B->>A: bus: voip.call.pull/pending_entries_received
Note over A: _ignorePhoneNumbers(phone_numbers)
A->>PBX: REFER (own AOR)
par Invitation sent
PBX->>A: INVITE (new call)
Note over A: phone_number in _ignoredPhoneNumbers <br/> not shown + no ringing
PBX->>C: INVITE (new call)
Note over C: phone_number in _ignoredPhoneNumbers <br/> not shown + no ringing
PBX->>B: INVITE (new call)
Note over B: pendingEntries matches phone_number <br/>auto-accept + no ringing
end
B->>PBX: 200 OK
PBX->>A: REFER 202 Accepted
Note over A: onAccept -> hangup()
A->>PBX: BYE
B->>A: bus: voip.call.pull/result
Note over B: display stats + delete pull
Note over A: display stats + delete push
```
Task-4417476This update enhances Canadian financial reports by moving away from reliance on account codes. The new reports now use account type and tax account distinctions, making them more adaptable to different Canadian chart of accounts configurations and ensuring accurate reporting.
Original PR description
the old reports were based on account codes. Since Canada doesn't have a standardized chart of accounts, users that modified their CoA would end up with incorrect BS and P&L reports. These new reports are inspired by the US ones and are based on account_type and non_trade (to distinguish tax accounts) and are therefore much more flexible. task-6024424
Resolved issues and error corrections
This update clarifies how payroll calculations are refreshed. Previously, separate 'Compute' and 'Reset' buttons caused confusion by handling different data. Now, the 'Compute' button automatically performs a complete refresh of both worked days and salary lines, streamlining the process for users.
Original PR description
The "Compute" button only recomputed salary lines while "Reset" also recomputed worked days lines, causing confusion Remove the separate "Reset" action and make "Compute" always perform a full refresh (worked days + salary lines) via action_refresh_from_work_entries. task-6075229
This update resolves an issue where timesheet suggestions were sometimes double-subtracting entries, leading to inaccurate time tracking. By tracking assistant-created timesheets, the system now correctly avoids proposing time that has already been manually entered, ensuring more accurate time reporting.
Original PR description
[IMP] timesheet_grid: handle manual entries conflict in assistant Manual timesheet entries should be subtracted from the assistant suggestions to avoid proposing time that has already been entered. Since manual entries can come from multiple sources (systray, grid, etc.), we now track assistant-created timesheets (those created via "Take" or by selecting suggestions) and exclude them from the manual subtraction pass. This avoids double-subtracting entries that are already handled via consumedEvents. task-6116579
This update allows users to start and stop timesheet timers directly from the systray, regardless of whether the `hr_attendance` app is installed. Previously, users needed this app to stop the timer when taking a break. Check-in and check-out data is stored locally in the browser for convenience, but is overwritten daily.
Original PR description
## Behavior Before the Commit When users interacted with the `timesheet`` systray, they were unable to stop the `timesheet` timer unless they had the `hr_attendance` app installed. This caused issues when a user went on break, as the timer continued running. ## Behavior After the Commit Users can now check in directly from the `timesheet` systray and later check out, which correctly stops the timesheet timer and doesn't require the `hr_attendance` module. ## Additional Information Daily check‑in and check‑out data is stored locally in the user’s browser. This ensures persistence across sessions without requiring database writes. Data from previous days is overwritten, meaning it can be lost if not recorded elsewhere. ---- task-[5969277](https://www.odoo.com/odoo/project/4105/tasks/5969277)
This update resolves a crash that occurred when users clicked on the Analytic Distribution field within the expense form. The issue stemmed from how the system handled JSON fields, specifically when determining the OCR box type. The fix adds optional chaining to ensure the system gracefully handles these fields without errors, improving the user experience.
Original PR description
**Problem:** Clicking on the Analytic Distribution field in the expense form triggers a traceback: "Cannot read properties of undefined (reading 'fields')". **Steps to reproduce:** 1. Enable Analytic…
**Problem:** Clicking on the Analytic Distribution field in the expense form triggers a traceback: "Cannot read properties of undefined (reading 'fields')". **Steps to reproduce:** 1. Enable Analytic Accounting in Settings > Accounting 2. Go to Expenses > New 3. Click on the Analytic Distribution field 4. Observe the JS error in the console **Current behavior:** TypeError: Cannot read properties of undefined (reading 'fields') in HrExpenseFormRenderer.getBoxType **Expected behavior:** Clicking the Analytic Distribution field should not cause any error. **Cause of the issue:** The `ExtractMixinFormRenderer` mixin listens to all `focusin` events and calls `getBoxType` to determine the OCR box type for the focused field. When a nested widget like `AnalyticDistribution` gains focus, `getFullFieldName` returns a dot-separated name (e.g. `analytic_distribution.x_plan_id`), causing the code to enter the dotted-name branch in `getBoxType`: `this.props.record.data[parentField]?._config.fields[fieldName]` The `analytic_distribution` data is a JSON object, not a relational record, so it has no `_config` property. Optional chaining on `data[parentField]` prevents a crash when the field is missing, but the missing `?.` on `_config` causes `undefined.fields` to throw. **Fix:** Adding optional chaining on `_config` is consistent with the existing defensive pattern already used on the same line for `data[parentField]?` and `[fieldName]?.type`. This makes `getBoxType` gracefully return no box type for non-relational nested fields, which is correct since OCR box overlay is not applicable to them. opw-6108576
This update fixes a previous issue where the 'upload bills/refunds' button was incorrectly applied to all bank statement lines. Now, the system accurately identifies whether a bank statement line is positive or negative and displays the appropriate upload button (bills or refunds) for better accuracy.
Original PR description
Fixed an issue where the default for positive and negative bank statement lines were upload bills, now it distinguishes between positive and negative bank statement lines and shows upload bills/refunds accordingly. task-6111047
This update strengthens the security and reliability of Odoo Sign requests linked to server actions. It now enforces required fields – like a specific partner for 'fixed' signers and a target field for 'linked_field' signers – preventing errors and ensuring signature requests are properly configured. This change enhances data integrity and reduces potential issues during signature creation.
Original PR description
Added a constraint to `sign.item.role` to ensure data integrity when configuring signature requests via Automated Actions. When a role is linked to a Server Action (`ir_actions_server_id` is set), the system now strictly verifies that: - Roles with a 'fixed' signer type have a specific partner assigned. - Roles with a 'linked_field' signer type have a target field selected. A `ValidationError` is raised if these conditions are not met. The constraint is specifically scoped to server actions to ensure standard Odoo Sign template creation remains completely unaffected. Added a Python test to guarantee this behavior is strictly enforced. Task: 6069253
This update fixes an issue where the gross salary percentage in the salary simulation preview was incorrectly displayed across multiple lines. The fix ensures the percentage value aligns properly within the preview, providing a cleaner and more accurate representation of the salary calculation. This improves the user experience for offer creation.
Original PR description
[FIX] hr_contract_salary_payroll: fix alignment of percentage field
**Bug production:**
It occurs only in master -> Recruitment app -> offers -> in the salary simulation preview the gross (100%) is appears in 3 lines, not proper.
**Bug cause:**
Due to grid structure of the parent and since there is nothing to keep them on the same line, it can easily pass to the below lines.
**Bug solution:**
Adding d-inline-flex to the inside span and adding text-nowrap to the parent div
task - 6044681This update simplifies the generation of sales order PDFs by removing unnecessary customer signatures and the associated tab from the Sales Order view. This change ensures a cleaner, more streamlined PDF experience for sales professionals, aligning with recent updates in the Odoo Community edition.
Original PR description
Right now, a signed order can be modified afterward while retaining the signature on the newly generated PDF. In https://github.com/odoo/odoo/pull/245198, we remove the customer's signature of all generated Quotation/SO's PDF except from the one they actually signed. We also remove the "Customer Signature" tab from the Sales order view. This tab was referenced to extend the template in the `sale_subscription` module. In this commit, we remove this reference and replace it for a reference to the tab before the removed one. task-5421716
This update fixes an issue where the Gantt view incorrectly displayed multiple time periods (e.g., 3 weeks) instead of the user's chosen one. The change ensures the Gantt view accurately reflects the selected time frame, improving usability and aligning with core planning functionality. This resolves a visual inconsistency.
Original PR description
Steps: - Go to the Project module. - Click on any project that has tasks. - Click on the Gantt view for this project. - Select a specific time period from the top menu (e.g., "Week"). Issue: - The Gantt view displays three periods (e.g., 3 weeks) instead of just the single period the user selected. Cause: - The default `getRangeFromDate` method was explicitly configured to calculate and return 3 time ranges centered around the focused date. [Link to Source Code](https://github.com/odoo/enterprise/blob/1cab53af040ca34f5c54843771a705b771ea41dd/web_gantt/static/src/gantt_model.js#L291-L296) Fix: - Override the `getRangeFromDate` method to calculate and return exactly one single time range based on the selected rangeId (week, month, year, etc.). This ensures the Gantt view only shows the selected time frame, aligning our module's behavior with the core planning.slot module. task-ID: 6049330
This update ensures Rental Orders consistently require both a start and end date when specifying rental periods. Previously, the system allowed open-ended dates, which wasn't aligned with the core functionality of rental orders. This change improves data accuracy and simplifies the rental process.
Original PR description
When clearing rental dates on a Rental Order, the daterange widget switches to an open-ended daterange input. However, Rental Orders require both a start and an end date. This commit ensures the input always requires a strict range. Follow-up of task-6003684
This update fixes a display issue in the account reports section. When a user selects the 'Local Gaap' ledger, the journal filter now correctly shows 'Local Gaap' instead of the company name. This ensures consistent and accurate reporting for users.
Original PR description
When a journal is archived, the name on the journal filter do not show 'Local Gaap' when the Local gaap ledger is checked. When the local gaap is selected, changed the display name of the journal filter. Before: Name of the companies whose all local gaap journals are selected After: 'Local Gaap' task-6111366 Forward-Port-Of: odoo/enterprise#113608
This fix resolves an issue where POS users with limited access rights encountered errors when closing their sessions, requiring administrator privileges to complete the process. The update simplifies the process by removing unnecessary checks for API credentials, ensuring a smoother user experience for POS users working with Fiskaly in Germany.
Original PR description
In German location with Fiskaly setup. POS users hit an AccessError on read when closing the session from the frontend, then had to finish closing in the backend with admin (base.group_erp_manager)…
In German location with Fiskaly setup. POS users hit an AccessError on read when closing the session from the frontend, then had to finish closing in the backend with admin (base.group_erp_manager) rights. Steps to reproduce: ------------------- * Enable Germany + Fiskaly POS (l10n_de_pos_cert), with a company registered for Fiskaly * Use a user with POS rights only (no Access Rights) * Open POS, sell, then close the session from the POS UI > Observation: A warning redirects to the back end; manual close shows: insufficient rights to read l10n_de_fiskaly_api_secret on res.company (operation read). Why the fix: ------------ The guard only needs to know whether the company is in the Germany + Fiskaly flow; that is already expressed by l10n_de_is_germany_and_fiskaly(), without reading API credentials. Fiskaly RPC helpers on res.company continue to use sudo() where secrets are required; this change fixes unnecessary reads of protected fields in the tax helper, not the security model of the credentials themselves. opw-6074960 Forward-Port-Of: odoo/enterprise#114006 Forward-Port-Of: odoo/enterprise#112618
Features or functions removed from Odoo
This update removes a technical field used to manually track component consumption in MRP work orders. Now, component consumption is handled through standard processes like marking moves as picked or editing quantities directly. This simplifies the process and improves consistency in how components are tracked.
Original PR description
This PR removes the technical field `manual_consumption` logic from mrp. Before this PR: If a move is marked as `manual_consumption=True`, its consumed quantity is not automatically updated on the…
This PR removes the technical field `manual_consumption` logic from mrp. Before this PR: If a move is marked as `manual_consumption=True`, its consumed quantity is not automatically updated on the MO. `manual_consumption` logic basically depended on the move being linked to an operation on the bom_line_id. After this PR: No more `manual_consumption` field. A move's consumed quantity is not automatically updated if it's picked. How the move is being picked is the same which is by marking a move as consumed in the shopfloor app, marking a work order that has component moves as done or simply editing the consumed quantity on the MO form. Changes in behavior: - If the move is marked as picked => it's no longer automatically updated. - Using barcode for mrp: When updating the qty_producing on the finished product, exiting the barcode and entering again => the quantity on the move lines reflect the new changed qty_producing and no more unpicked split move lines are created. However, changing the quantity on the move Lines (instead of the qty_producing) causes the move lines to split as expected [this is not necessarily a limitation but it can be improved if needed]. Community PR: https://github.com/odoo/odoo/pull/253649 Upgrade PR: https://github.com/odoo/upgrade/pull/9794 Task: 5882264
Code cleanup and technical improvements
This update streamlines invoice reminders by making them more consistent and user-friendly. The system now automatically sends reminders based on invoice details and allows for direct manual reminders from the invoice itself, improving payment collection efficiency.
Original PR description
This commit refactors and improves the follow-up system to make reminder handling more consistent and user-friendly. 1. Configuration flow updated Follow-up levels were previously configured under:…
This commit refactors and improves the follow-up system to make reminder handling more consistent and user-friendly. 1. Configuration flow updated Follow-up levels were previously configured under: Invoicing → Configuration → Follow-up Levels They are now available under: Invoicing → Settings → Automatic Invoice Reminder 2. Reminder timing improvement Previously, users had to enter a negative delay to send reminders before the due date. A new field reminder_timing has been introduced to explicitly choose whether the reminder is sent before or after the due date. Delay values are now always positive. 3. Reminder logic refactored Automatic follow-ups were previously based on the partner's follow-up level, which could lead to inconsistencies. Follow-ups are now based on the account move line follow-up level, ensuring more accurate and consistent reminder progression. 4. Follow-up status removed The `followup_status` field has been removed from `res.partner` as it is no longer required. 5. Manual reminder from invoice Users can now send invoice reminders directly from the invoice. If `Send & Print` is executed again on an overdue invoice, the email template automatically switches to the appropriate reminder template and attaches the follow-up report. 6. Last reminder tracking A new field last_reminder has been added to `res.partner` and `account.move` This field stores the date of the last reminder sent for the customer or invoice. 7. New mail templates added 3 templates for manual reminders from invoice 2 templates for automatic reminders and batch reminders from invoice list view task-5241209 com: https://github.com/odoo/odoo/pull/245403 upg: https://github.com/odoo/upgrade/pull/9587