Daily updates from Odoo
Navigate
Branch
Saturday, June 6, 2026
50 changes
11 changes
Enhancements to existing features
This update introduces a new button to streamline the process for French users switching between Peppol and PDP accounts. Previously, reregistration was complex, particularly when transitioning between these systems. This change simplifies the process, improving usability and supporting key business workflows related to PEPPOL compliance.
Original PR description
#### [IMP] l10n_fr_pdp: fix visibility for peppol (non-PDP) #### [IMP] account_peppol,l10n_fr_pdp: reregister This commit adds a button so that users can reregister more easily. This is i.e. useful to switch from Peppol to PDP for French users. #### meta task-6265603 Forward-Port-Of: odoo/odoo#268699 Forward-Port-Of: odoo/odoo#267948
This update implements webhooks for exchanging Peppol documents in the French (l10n_fr_pdp) module. This was previously missing in the 18.0 release and is now essential for compliant data exchange with Peppol, ensuring accurate financial reporting. The change was implemented to address a gap identified during the recent system migration.
Original PR description
We did not have webhooks in 18.0 for Peppol and we did not have time to implement / test it during the FW-porting. This commit adds the route on community side that is called from IAP. task-None IAP PR: https://github.com/odoo/iap-apps/pull/1639 Forward-Port-Of: odoo/odoo#268674 Forward-Port-Of: odoo/odoo#268472
Resolved issues and error corrections
This update fixes a bug in the spreadsheet account formulas that prevented correct calculations when users entered company IDs as numbers. Now, all company IDs are automatically converted to numbers, ensuring accurate calculations and preventing server errors. This improves the reliability of the spreadsheet accounting features.
Original PR description
Current behavior before PR: - The `ODOO.CREDIT`, `ODOO.DEBIT`, and `ODOO.BALANCE` formulas passed `companyId.value` directly to the server without converting it to a number. - If a user passed company_id as a string (e.g., '1' from a cell), it was sent to the server as a string, causing a server error. Desired behavior after PR is merged: - `companyId` is converted using toNumber() before being passed to the getter and the server, so '1' becomes 1. - null is preserved as-is (no company filter) while any non-null value is safely cast to an integer. Task: [6240005](https://www.odoo.com/odoo/project/2328/tasks/6240005) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#268415 Forward-Port-Of: odoo/odoo#266009
This update resolves an issue preventing accurate order data synchronization from Point of Sale systems. The fix corrects a state check in the invoicing process and resolves a minor typo, ensuring data is correctly transmitted to the accounting system. This improves the reliability of order information.
Original PR description
In this commit: - Update `read_pos_data` to check `done` state for invoicing instead of `invoiced` state - Load `account.move` model instead of `account_move` (fix typo) Task-5887318 Forward-Port-Of: odoo/enterprise#119407 Forward-Port-Of: odoo/enterprise#105839
This update resolves an issue where credit notes couldn't be created if the system encountered archived bank accounts. The fix ensures that the system explicitly checks for inactive bank accounts, preventing validation errors and allowing credit notes to be successfully confirmed. This improves the reliability of invoice processing.
Original PR description
When creating a credit note, it is possible for the compute method _compute_partner_bank_id to be called in a context where active_test is falsy, leading to moves that cannot be validated because it…
When creating a credit note, it is possible for the compute method _compute_partner_bank_id to be called in a context where active_test is falsy, leading to moves that cannot be validated because it would raise with the following error message: > The recipient bank account linked to this invoice is archived. So you cannot confirm the invoice. The state of the 'active_test' ctx key cannot be known in advance in a compute and should not be assumed as True; according to the framework team: > In practice, a compute method cannot expect active_test to have > a particular value. It may be invoked with any context. There is no > "context purge" done by the ORM. The computation may be "prepared" > with a context (the one of modified()) and actually done with another > context (code accessing the field before some explicit flush). In > other words, if the compute method searches for a record that matches > some conditions, and if that record cannot be inactive, then this > condition must be explicit in the search domain (or in the context). opw-6229286 Forward-Port-Of: odoo/odoo#268389 Forward-Port-Of: odoo/odoo#267398
This update optimizes how Odoo searches for names, specifically when dealing with large datasets. By batching setup processes, the system now performs these calculations more efficiently, leading to faster search results. This improves the overall user experience.
Original PR description
If a method has a costly setup in `_compute_display_name` but that can be batched, allow the ORM to do the setup only once for all the lines to compute Forward-Port-Of: odoo/odoo#267221 Forward-Port-Of: odoo/odoo#263553
This update fixes a technical error that could prevent shifts with zero allocated percentages from being correctly calculated. The change simplifies the calculation by directly using start and end times instead of relying on a potentially problematic percentage-based formula. This ensures accurate break time calculations across all shift types.
Original PR description
When editing break_time on a shift where allocated_percentage is 0 (e.g., break consumes full duration), the onchange raised a ZeroDivisionError due to dividing by allocated_percentage. Compute the slot duration directly from start/end datetimes instead of reverse-engineering it from allocated_hours and allocated_percentage, which is algebraically equivalent but avoids the division by zero. task-6274706
This update fixes a previous issue where the system incorrectly identified SIREN numbers by simply using the first 9 digits of the company ID. Now, a validation helper method is used to ensure accurate SIREN identification, particularly for users on IAP who may not have provided a SIREN. This improves the accuracy of KYC processes.
Original PR description
Currently we just take the first 9 numbers of the `company_id` and say it is the SIREN. On IAP we have some people who just seem to have put their company name. After this commit we use a helper method that does some simple validation at least. task-None Forward-Port-Of: odoo/odoo#268621 Forward-Port-Of: odoo/odoo#268202
This update corrects a technical error in the French tax reporting module (l10n_fr_pdp) that was preventing proper data processing. The issue stemmed from incorrectly structuring data within the system, and this fix ensures accurate reporting for French businesses. It's a routine maintenance update.
Original PR description
'Content' was set as an attribute of 'IncludedNote' instead of a child node. See ppf messages 164, 166 & 168 Forward-Port-Of: odoo/odoo#268593
This pull request updates the core spreadsheet component (o_spreadsheet) to the latest version (19.3.6). It addresses several bug fixes and performance improvements related to spreadsheet functionality, including chart export, pivot tables, and table manipulation, ensuring a stable and reliable spreadsheet experience.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/0fe939b4db [REL] 19.3.6 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/0fe939b4db [REL] 19.3.6 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/786289f58f [FIX] pivot: adding a pivot definition marks it as unused [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/6e9fa50682 [FIX] Pivot: runtime definition might not be loaded [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/0d9679ec79 [FIX] Formats: support non-standard space characters [Task: 6259325](https://www.odoo.com/odoo/2328/tasks/6259325) https://github.com/odoo/o-spreadsheet/commit/84213e8f8b [FIX] xlsx: preserve chart title font size on xlsx export [Task: 6000071](https://www.odoo.com/odoo/2328/tasks/6000071) https://github.com/odoo/o-spreadsheet/commit/cfcb7c9d7c [FIX] Tables: invalidate computed style on `DELETE_CONTENT` [Task: 6253199](https://www.odoo.com/odoo/2328/tasks/6253199) https://github.com/odoo/o-spreadsheet/commit/9d39f5ddb1 [FIX] table: "delete table" menu item does not always work [Task: 6247743](https://www.odoo.com/odoo/2328/tasks/6247743) https://github.com/odoo/o-spreadsheet/commit/7fd6762dda [FIX] Registry: remove duplicate Registry class [Task: 6259131](https://www.odoo.com/odoo/2328/tasks/6259131) https://github.com/odoo/o-spreadsheet/commit/ec259e42ca [FIX] LockedSheet: missing commands in the whitelist [Task: 6240417](https://www.odoo.com/odoo/2328/tasks/6240417) https://github.com/odoo/o-spreadsheet/commit/76e93ea843 [PERF] menu: avoid quadratic complexity with proxies [Task: 6250318](https://www.odoo.com/odoo/2328/tasks/6250318) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>
This update resolves a bug where shift allocations incorrectly showed 0% when created on weekends, preventing accurate time calculations. Additionally, a test was adjusted to avoid running during demo data installations, ensuring a smoother user experience. These changes improve the reliability and usability of the planning module.
Original PR description
## [FIX] planning_field_service: avoid division by 0 Before this commit, when the shift is created during the weekend, the allocated_percentage will be 0 percent because the resource assigned is not…
## [FIX] planning_field_service: avoid division by 0 Before this commit, when the shift is created during the weekend, the allocated_percentage will be 0 percent because the resource assigned is not supposed to work at that day and so a division by zero occured in the onchange of break_time field in planning.slot model. This commit checks if allocated_percentage is not equal to 0 before computing the new allocated hours when the user alters break_time field on a planning.slot. ## [FIX] planning_field_service: don't start test with onboarding tour with demo Before this commit, the planning_field_service_tour tour does not work when there is demo data because the tour will select the first slot in the gantt view which will be an open shift instead of a shift assigned to the current user because of that, the sign in button is not displayed as expected. This commit makes sure the test running the planning_field_service_tour tour is skipped when demo data are installed. runbot-error-242483 Forward-Port-Of: odoo/enterprise#119032
10 changes
New functionality added to Odoo
This update implements webhooks for exchanging Peppol documents in the French (l10n_fr_pdp) module. This was previously missing in the 18.0 release and is now necessary to comply with European regulations. The change is triggered through the IAP system.
Original PR description
We did not have webhooks in 18.0 for Peppol and we did not have time to implement / test it during the FW-porting. This commit adds the route on community side that is called from IAP. task-None IAP PR: https://github.com/odoo/iap-apps/pull/1639 Forward-Port-Of: odoo/odoo#268674 Forward-Port-Of: odoo/odoo#268472
Enhancements to existing features
This update introduces a new button to streamline the process for French users switching between Peppol and PDP registration. Previously, this transition was complex and prone to issues, particularly during testing. This change improves usability and ensures a smoother experience for users managing their Peppol and PDP connections.
Original PR description
#### [IMP] l10n_fr_pdp: fix visibility for peppol (non-PDP) #### [IMP] account_peppol,l10n_fr_pdp: reregister This commit adds a button so that users can reregister more easily. This is i.e. useful to switch from Peppol to PDP for French users. #### meta task-6265603 Forward-Port-Of: odoo/odoo#268699 Forward-Port-Of: odoo/odoo#267948
Resolved issues and error corrections
This update fixes a bug in the spreadsheet account formulas that were causing errors when users entered company IDs as text. Now, all company IDs are automatically converted to numbers, ensuring the formulas work correctly regardless of the input format. This improves the reliability of the spreadsheet calculations.
Original PR description
Current behavior before PR: - The `ODOO.CREDIT`, `ODOO.DEBIT`, and `ODOO.BALANCE` formulas passed `companyId.value` directly to the server without converting it to a number. - If a user passed company_id as a string (e.g., '1' from a cell), it was sent to the server as a string, causing a server error. Desired behavior after PR is merged: - `companyId` is converted using toNumber() before being passed to the getter and the server, so '1' becomes 1. - null is preserved as-is (no company filter) while any non-null value is safely cast to an integer. Task: [6240005](https://www.odoo.com/odoo/project/2328/tasks/6240005) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#268415 Forward-Port-Of: odoo/odoo#266009
This update resolves an issue preventing accurate order data synchronization from point-of-sale (POS) systems. The fix corrects a typo and updates the system to check for 'done' invoicing states instead of 'invoiced' states, ensuring reliable data transfer. This improves the integration between POS and accounting.
Original PR description
In this commit: - Update `read_pos_data` to check `done` state for invoicing instead of `invoiced` state - Load `account.move` model instead of `account_move` (fix typo) Task-5887318 Forward-Port-Of: odoo/enterprise#119407 Forward-Port-Of: odoo/enterprise#105839
This update fixes a discrepancy in the Swiss Balance Sheet by restructuring the equity section. Specifically, it adds a 'Profit / Loss brought forward' line to accurately separate legal reserves from retained earnings, improving the accuracy of financial reporting. The 'Annual profit or annual loss' field is now used solely for informational purposes.
Original PR description
Fix the Equity section in the Swiss Balance Sheet. Adding a new line 'Profit / Loss brought forward' for the result brought forward, that allows to separate the legal reserve and the results. The new structure for the equity section is: - Share, corporate or foundation capital - Legal reserve - Retained earnings - Profit / Loss brought forward - Previous years' unallocated profit or loss - Treasury shares The 'Annual profit or annual loss' is now purely indicative and is not taken into account in the equity computation, as the amounts in this section are considered in the new Retained Earnings section. task-6220525 Forward-Port-Of: odoo/enterprise#117601
This update optimizes how Odoo searches for names, specifically when dealing with large lists of records. By batching setup processes, the system now performs these calculations more efficiently, leading to faster search results. This improves the overall user experience.
Original PR description
If a method has a costly setup in `_compute_display_name` but that can be batched, allow the ORM to do the setup only once for all the lines to compute Forward-Port-Of: odoo/odoo#267221 Forward-Port-Of: odoo/odoo#263553
This pull request updates the core spreadsheet component (o_spreadsheet) with several bug fixes and performance improvements. These changes address issues related to pivot tables, chart exports, and overall spreadsheet stability, ensuring a smoother user experience. The update includes optimizations for performance and reliability.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/d29528ea9f [REL] 19.2.15 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/d29528ea9f [REL] 19.2.15 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/9e4e0e870a [FIX] pivot: adding a pivot definition marks it as unused [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/1f15b4fac7 [FIX] Pivot: runtime definition might not be loaded [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/d444583613 [FIX] Formats: support non-standard space characters [Task: 6259325](https://www.odoo.com/odoo/2328/tasks/6259325) https://github.com/odoo/o-spreadsheet/commit/1cd1517c91 [FIX] xlsx: preserve chart title font size on xlsx export [Task: 6000071](https://www.odoo.com/odoo/2328/tasks/6000071) https://github.com/odoo/o-spreadsheet/commit/37a6f1b4f5 [FIX] Tables: invalidate computed style on `DELETE_CONTENT` [Task: 6253199](https://www.odoo.com/odoo/2328/tasks/6253199) https://github.com/odoo/o-spreadsheet/commit/b2c5cb95dc [FIX] table: "delete table" menu item does not always work [Task: 6247743](https://www.odoo.com/odoo/2328/tasks/6247743) https://github.com/odoo/o-spreadsheet/commit/543f6b9ebb [FIX] Registry: remove duplicate Registry class [Task: 6259131](https://www.odoo.com/odoo/2328/tasks/6259131) https://github.com/odoo/o-spreadsheet/commit/4c2f12e096 [FIX] LockedSheet: missing commands in the whitelist [Task: 6240417](https://www.odoo.com/odoo/2328/tasks/6240417) https://github.com/odoo/o-spreadsheet/commit/09d35f48e8 [PERF] menu: avoid quadratic complexity with proxies [Task: 6250318](https://www.odoo.com/odoo/2328/tasks/6250318) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>
This update fixes a previous issue where the system incorrectly identified SIREN numbers by simply taking the first 9 digits of a company ID. Now, a validation helper is used to ensure correct SIREN identification, particularly for users on IAP who may have only provided their company name. This improves the accuracy of KYC processes.
Original PR description
Currently we just take the first 9 numbers of the `company_id` and say it is the SIREN. On IAP we have some people who just seem to have put their company name. After this commit we use a helper method that does some simple validation at least. task-None Forward-Port-Of: odoo/odoo#268621 Forward-Port-Of: odoo/odoo#268202
This update corrects a technical error in the l10n_fr_pdp module that was preventing proper processing of French payroll reports. The issue stemmed from incorrectly assigning data attributes, which has now been resolved. This ensures accurate and compliant reporting for our French clients.
Original PR description
'Content' was set as an attribute of 'IncludedNote' instead of a child node. See ppf messages 164, 166 & 168 Forward-Port-Of: odoo/odoo#268593
This update prevents users with limited access from modifying timesheet entries automatically generated for public holidays. Previously, these entries were editable, leading to potential inaccuracies in reporting and payroll. This change ensures data integrity and consistency across all time-off calculations.
Original PR description
Timesheet entries generated from public holidays are currently editable by users with minimal rights. Although these entries appear greyed out, they can still be modified, which can lead to inconsistencies in reporting and payroll calculations. This behavior is inconsistent with other time-off–related entries, which are non-editable by default. Hence, this commit makes global time off timesheet entries non-editable in all views, except the grid, which instead displays a user error if they try to edit the timesheet amount. Backport of odoo/odoo#248282 Forward-Port-Of: odoo/odoo#268314
11 changes
Enhancements to existing features
This update introduces a new button to streamline the process for French users switching between Peppol and PDP registration. Specifically, it addresses an issue encountered during testing where resetting the Peppol EAS setting in the demo company caused problems with reregistration flows. This enhancement improves usability and simplifies a key business operation.
Original PR description
#### [IMP] l10n_fr_pdp: fix visibility for peppol (non-PDP) #### [IMP] account_peppol,l10n_fr_pdp: reregister This commit adds a button so that users can reregister more easily. This is i.e. useful to switch from Peppol to PDP for French users. #### meta task-6265603 Forward-Port-Of: odoo/odoo#267948
This update implements webhooks for exchanging Peppol documents in the French (l10n_fr_pdp) module. Previously missing due to porting delays, these webhooks ensure compliance with French tax regulations and improve data exchange efficiency. This change is driven by a business need for accurate and timely reporting.
Original PR description
We did not have webhooks in 18.0 for Peppol and we did not have time to implement / test it during the FW-porting. This commit adds the route on community side that is called from IAP. task-None IAP PR: https://github.com/odoo/iap-apps/pull/1639 Forward-Port-Of: odoo/odoo#268674 Forward-Port-Of: odoo/odoo#268472
Resolved issues and error corrections
This update fixes a bug in the spreadsheet account formulas that prevented correct calculations when company IDs were entered as numbers. Now, all company IDs are automatically converted to numbers, ensuring accurate calculations and preventing server errors. This improves the reliability of the spreadsheet accounting features.
Original PR description
Current behavior before PR: - The `ODOO.CREDIT`, `ODOO.DEBIT`, and `ODOO.BALANCE` formulas passed `companyId.value` directly to the server without converting it to a number. - If a user passed company_id as a string (e.g., '1' from a cell), it was sent to the server as a string, causing a server error. Desired behavior after PR is merged: - `companyId` is converted using toNumber() before being passed to the getter and the server, so '1' becomes 1. - null is preserved as-is (no company filter) while any non-null value is safely cast to an integer. Task: [6240005](https://www.odoo.com/odoo/project/2328/tasks/6240005) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#268415 Forward-Port-Of: odoo/odoo#266009
This update resolves an issue preventing accurate order data synchronization from Point of Sale systems. The fix corrects a typo and adjusts the system to check for 'done' invoicing states instead of 'invoiced', ensuring reliable data transfer between POS and the core Odoo system. This improves the accuracy of order information.
Original PR description
In this commit: - Update `read_pos_data` to check `done` state for invoicing instead of `invoiced` state - Load `account.move` model instead of `account_move` (fix typo) Task-5887318 Forward-Port-Of: odoo/enterprise#119407 Forward-Port-Of: odoo/enterprise#105839
This update resolves an issue where a confusing time slot selection popup appeared when using order presets in the restaurant POS. The fix ensures that the preset selection flow correctly exits when an order is merged and deleted, preventing errors and improving the user experience. This enhancement ensures smoother order management for restaurant staff.
Original PR description
pos*: point_of_sale, pos_restaurant Steps to reproduce: - Configure a preset identified by name and managed by time. - Open the restaurant POS. - Create a direct order and set a tab for it. - Return to the floor screen and create another direct order. - Select the configured preset and choose the previously created order from the order name popup. Issue: - The time slot selection popup appears unexpectedly. - Selecting a time slot triggers a traceback. Cause: - When selecting an existing order, the current order is merged into the selected order. - However, the time slot selection flow remains active for the merged order, which has already been deleted. Fix: - Exit the preset selection flow when the order is merged and deleted. Task-6032880 Forward-Port-Of: odoo/odoo#268304 Forward-Port-Of: odoo/odoo#253586
This update optimizes how Odoo searches for names, making the process faster and more efficient. By batching setup calculations, the system avoids redundant work, resulting in quicker response times when searching for records. This enhancement improves the overall user experience.
Original PR description
If a method has a costly setup in `_compute_display_name` but that can be batched, allow the ORM to do the setup only once for all the lines to compute Forward-Port-Of: odoo/odoo#263553
This update corrects a calculation error in the Swiss Balance Sheet's equity reporting. A new 'Profit / Loss brought forward' line has been added to accurately separate legal reserves and retained earnings. The previous 'Annual profit or annual loss' field is now purely indicative, streamlining the reporting process for Swiss financial statements.
Original PR description
Fix the Equity section in the Swiss Balance Sheet. Adding a new line 'Profit / Loss brought forward' for the result brought forward, that allows to separate the legal reserve and the results. The new structure for the equity section is: - Share, corporate or foundation capital - Legal reserve - Retained earnings - Profit / Loss brought forward - Previous years' unallocated profit or loss - Treasury shares The 'Annual profit or annual loss' is now purely indicative and is not taken into account in the equity computation, as the amounts in this section are considered in the new Retained Earnings section. task-6220525 Forward-Port-Of: odoo/enterprise#117601
This update corrects how tax data is processed for split payments in Italy, specifically addressing issues with 'SP' taxes. By removing unnecessary tax entries and adopting accurate tax data, the system now generates more reliable and accurate tax closing entries, ensuring compliance with Italian tax regulations.
Original PR description
with this commit:- - Removing unnecessary 'SP Pos.' taxes. - Adopted correct tax data for 'SP' taxes so that it works correctly in Split Payment case. - By these changes, tax closing entries will become hermetic. task-6116304 Forward-Port-Of: odoo/odoo#264336
This pull request updates the core spreadsheet component with several bug fixes and performance improvements. It addresses issues related to pivot tables, chart exports, dark mode display, and overall stability, ensuring a smoother user experience. These changes contribute to the reliability and functionality of the spreadsheet feature.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/97a02db105 [REL] 19.1.22 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/97a02db105 [REL] 19.1.22 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/abf1bf683c [FIX] pivot: adding a pivot definition marks it as unused [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/8105e121d6 [FIX] Pivot: runtime definition might not be loaded [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/3a66c2c76e [FIX] Formats: support non-standard space characters [Task: 6259325](https://www.odoo.com/odoo/2328/tasks/6259325) https://github.com/odoo/o-spreadsheet/commit/eb6439fae2 [FIX] xlsx: preserve chart title font size on xlsx export [Task: 6000071](https://www.odoo.com/odoo/2328/tasks/6000071) https://github.com/odoo/o-spreadsheet/commit/5049a578d4 [FIX] Headers overlay: unhide headers in dark mode [Task: 6233467](https://www.odoo.com/odoo/2328/tasks/6233467) https://github.com/odoo/o-spreadsheet/commit/c768f856d4 [FIX] Tables: invalidate computed style on `DELETE_CONTENT` [Task: 6253199](https://www.odoo.com/odoo/2328/tasks/6253199) https://github.com/odoo/o-spreadsheet/commit/19a3832efb [FIX] table: "delete table" menu item does not always work [Task: 6247743](https://www.odoo.com/odoo/2328/tasks/6247743) https://github.com/odoo/o-spreadsheet/commit/2b308f91f0 [FIX] Registry: remove duplicate Registry class [Task: 6259131](https://www.odoo.com/odoo/2328/tasks/6259131) https://github.com/odoo/o-spreadsheet/commit/aeb8b17440 [PERF] menu: avoid quadratic complexity with proxies [Task: 6250318](https://www.odoo.com/odoo/2328/tasks/6250318) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>
This update fixes a previous issue where the system incorrectly identified SIREN numbers by simply taking the first 9 digits of the company ID. Now, a validation helper method is used to ensure accurate SIREN capture, particularly for IAP users who may have only provided their company name. This improves KYC compliance and data accuracy.
Original PR description
Currently we just take the first 9 numbers of the `company_id` and say it is the SIREN. On IAP we have some people who just seem to have put their company name. After this commit we use a helper method that does some simple validation at least. task-None Forward-Port-Of: odoo/odoo#268621 Forward-Port-Of: odoo/odoo#268202
This update corrects a technical error in the French tax reporting module (l10n_fr_pdp) that was preventing proper data processing. The issue involved incorrectly assigning data attributes, which has now been resolved. This ensures accurate tax reporting functionality.
Original PR description
'Content' was set as an attribute of 'IncludedNote' instead of a child node. See ppf messages 164, 166 & 168 Forward-Port-Of: odoo/odoo#268593
4 changes
Resolved issues and error corrections
This update simplifies how spreadsheet documents are handled within Odoo Enterprise. It removes unnecessary versioning features for spreadsheets and frozen spreadsheets, reducing data storage and improving performance. This change ensures spreadsheets manage their history effectively through revisions, avoiding redundant attachments.
Original PR description
This PR consists of two commits. The first commit hides the Manage Versions action button for spreadsheet and frozen spreadsheet documents, since versioning is disabled for those records. The second commit is a backport of enterprise commit 0e319d0. It disables document versioning for spreadsheet and frozen spreadsheet documents, as spreadsheets already manage their history through spreadsheet revisions. This avoids creating unnecessary document history attachments when spreadsheet data is written or when a spreadsheet is copied. Task: [6236496](https://www.odoo.com/odoo/project/2328/tasks/6236496) Forward-Port-Of: odoo/enterprise#118484
This update fixes a previous issue where the system incorrectly identified SIREN numbers by simply using the first 9 digits of the company ID. Now, a validation helper is used to ensure accurate SIREN data is captured, particularly for IAP users who may have only provided their company name. This improves the accuracy of KYC processes.
Original PR description
Currently we just take the first 9 numbers of the `company_id` and say it is the SIREN. On IAP we have some people who just seem to have put their company name. After this commit we use a helper method that does some simple validation at least. task-None Forward-Port-Of: odoo/odoo#268621 Forward-Port-Of: odoo/odoo#268202
This update addresses several minor issues and performance improvements within the Odoo spreadsheet component. It includes fixes for functionality related to pivot tables, table deletion, and data formatting, ensuring a smoother user experience. This work improves the stability and efficiency of the spreadsheet feature.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/d8ca64df6d [REL] 18.3.50 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/d8ca64df6d [REL] 18.3.50 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/b08a3425af [FIX] pivot: adding a pivot definition marks it as unused [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/79af903027 [FIX] Pivot: runtime definition might not be loaded [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/6f25e4d8f6 [FIX] Formats: support non-standard space characters [Task: 6259325](https://www.odoo.com/odoo/2328/tasks/6259325) https://github.com/odoo/o-spreadsheet/commit/2c6699b4a1 [FIX] table: "delete table" menu item does not always work [Task: 6247743](https://www.odoo.com/odoo/2328/tasks/6247743) https://github.com/odoo/o-spreadsheet/commit/f7e4b1cd41 [PERF] menu: avoid quadratic complexity with proxies [Task: 6250318](https://www.odoo.com/odoo/2328/tasks/6250318) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>
This update corrects a technical error in the French tax reporting module (l10n_fr_pdp) that was preventing proper data processing. The issue stemmed from incorrectly assigning data attributes, which has now been resolved. This ensures accurate tax reporting functionality.
Original PR description
'Content' was set as an attribute of 'IncludedNote' instead of a child node. See ppf messages 164, 166 & 168 Forward-Port-Of: odoo/odoo#268593
2 changes
Resolved issues and error corrections
This update corrects a bug where the 'Cancel Reason' wasn't being properly transmitted when reversing invoices in Peruvian companies. Now, the credit note generated after reversing includes the user-specified cancellation reason, ensuring accurate reporting to the SUNAT and fulfilling regulatory requirements. This improves data integrity for Peruvian accounting processes.
Original PR description
### Issue before this commit: When reversing an invoice in a Peruvian company, the "Cancel Reason" entered in the credit note window is not propagated to the Peruvian EDI tab of the resulting Credit…
### Issue before this commit: When reversing an invoice in a Peruvian company, the "Cancel Reason" entered in the credit note window is not propagated to the Peruvian EDI tab of the resulting Credit Note. Only the Credit Reason is successfully reported. ### Steps to reproduce the issue: 1. Download Accounting and l10n_pe 2. Switch to PE company 3. Create an invoice and confirm it 4. Create a credit note for the invoice with a cancel reason and a credit reason and click the reverse button 5. See that in the Peruvian EDI tab only the Credit Reason is reported but not the Cancel Reason ### Cause of the issue: In the l10n_pe_edi module, the override of the _prepare_default_reversal method maps the l10n_pe_edi_refund_reason to the new move's values, but completely omits the mapping of the wizard's textual reason field to the l10n_pe_edi_cancel_reason field of the resulting credit note. ### Reason to introduce the fix: To ensure the generated credit notes contain all required information for the Peruvian EDI (SUNAT). Mapping the cancel reason guarantees that the electronic document accurately reflects both the refund code and the descriptive cancellation text provided by the user. opw-6238525 Forward-Port-Of: odoo/enterprise#118479
This update removes the unnecessary 'Manage Versions' action for spreadsheet and frozen spreadsheet documents. Previously, attempting to version these files created extra attachments and history, which was inefficient. This change streamlines the spreadsheet process by leveraging existing revision history instead of duplicating it.
Original PR description
This PR consists of two commits. The first commit hides the Manage Versions action button for spreadsheet and frozen spreadsheet documents, since versioning is disabled for those records. The second commit is a backport of enterprise commit 0e319d0. It disables document versioning for spreadsheet and frozen spreadsheet documents, as spreadsheets already manage their history through spreadsheet revisions. This avoids creating unnecessary document history attachments when spreadsheet data is written or when a spreadsheet is copied. Task: [6236496](https://www.odoo.com/odoo/project/2328/tasks/6236496)
6 changes
Enhancements to existing features
This update optimizes Odoo's database performance by implementing a layered caching system within transactions. This change reduces the load on the database, leading to faster response times and improved overall system efficiency. The update impacts several core Odoo modules to enhance performance.
Original PR description
https://github.com/odoo/odoo/pull/261736
Resolved issues and error corrections
This update fixes an issue where a bank transaction creation process would unexpectedly crash when encountering an error. The fix ensures the quick create form closes gracefully and displays the error, preventing data loss and improving the user experience. This resolves a technical problem related to error handling during bank transaction creation.
Original PR description
**Problem:** When an error is thrown upon creating a bank transaction in the kanban view, a traceback occurs due to trying to access the quickCreateState which does not exist in this context (`this` = BankRecQuickCreateController). **Steps to Reproduce:** - Force the suspense account of the bank journal to be False - Go to bank transactions of that journal in kanban view and try to create a new transaction -> Traceback **Solution:** The expected behavior is for the quick create to be closed, then throw the error. Therefore, onCancel() can be called before throwing the error. opw-6186901 Forward-Port-Of: odoo/enterprise#118842
This update resolves an issue where reports with sections would always revert to the first section after a soft reload. The fix ensures that the last opened section is correctly saved and restored, improving the user experience when refreshing reports.
Original PR description
When opening a report with sections, we dont save the last opened section. So following a soft-reload, it always redirect to the first section. To reproduce: - Install l10n_fr_reports - Set up the Tax Returns - Open the Tax Report from the Fiscal Declaration - Open the 2069 RCI - Click on the line "Add new section" which trigger a soft reload *or find another way to trigger a soft reload from a report with sections* Forward-Port-Of: odoo/enterprise#118993
This update resolves an issue preventing accurate order data synchronization from Point of Sale systems. The fix corrects a state check in the invoicing process and resolves a minor typo, ensuring that order information is reliably transmitted to the accounting system. This improves the integration between POS and accounting operations.
Original PR description
In this commit: - Update `read_pos_data` to check `done` state for invoicing instead of `invoiced` state - Load `account.move` model instead of `account_move` (fix typo) Task-5887318 Forward-Port-Of: odoo/enterprise#119407 Forward-Port-Of: odoo/enterprise#105839
This update corrects an issue with the data sent to UrbanPiper for store updates, ensuring accurate store information is transmitted. Additionally, a previously removed test case has been restored and the delivery provider is now hidden from payment method views for a cleaner user experience. This resolves a technical bug and improves the overall system reliability.
Original PR description
Fixes the UrbanPiper store timings payload used in store update requests. Also restores the preparation display assertion in `test_01_order_flow`, which was accidentally removed during refactoring. Additionally, hides the delivery provider in the payment method view. Task-6065459 Runbot Err-[242023](https://runbot.odoo.com/odoo/error/242023) Forward-Port-Of: odoo/enterprise#111818
Code cleanup and technical improvements
This pull request applies automated linting fixes across several website rental modules within Odoo. These changes improve code consistency and readability, addressing minor issues identified by the Ruff linter. The updates primarily focus on the sale, website_sale_renting, and sale_stock_renting modules, ensuring a smoother user experience and maintainable codebase.
Original PR description
followup of task-5436779 for master
4 changes
Enhancements to existing features
This update simplifies VAT reporting for Odoo users in Norway. The default VAT periodicity has been set to bi-monthly (every 2 months), aligning with the standard reporting frequency used in Norway. This change reduces the administrative burden for Norwegian businesses using Odoo Enterprise.
Original PR description
Set the default VAT periodicity for Norwegian companies to every 2 months, aligning with the most commonly used reporting frequency in Norway. task-6209940 Forward-Port-Of: odoo/enterprise#117054
Resolved issues and error corrections
This update corrects a bug where the 'Cancel Reason' wasn't properly transmitted when reversing invoices in Peruvian companies. Now, the credit note generated after reversing includes the user-specified cancellation reason, ensuring accurate reporting to the Peruvian tax authority (SUNAT) and compliance with regulations.
Original PR description
### Issue before this commit: When reversing an invoice in a Peruvian company, the "Cancel Reason" entered in the credit note window is not propagated to the Peruvian EDI tab of the resulting Credit…
### Issue before this commit: When reversing an invoice in a Peruvian company, the "Cancel Reason" entered in the credit note window is not propagated to the Peruvian EDI tab of the resulting Credit Note. Only the Credit Reason is successfully reported. ### Steps to reproduce the issue: 1. Download Accounting and l10n_pe 2. Switch to PE company 3. Create an invoice and confirm it 4. Create a credit note for the invoice with a cancel reason and a credit reason and click the reverse button 5. See that in the Peruvian EDI tab only the Credit Reason is reported but not the Cancel Reason ### Cause of the issue: In the l10n_pe_edi module, the override of the _prepare_default_reversal method maps the l10n_pe_edi_refund_reason to the new move's values, but completely omits the mapping of the wizard's textual reason field to the l10n_pe_edi_cancel_reason field of the resulting credit note. ### Reason to introduce the fix: To ensure the generated credit notes contain all required information for the Peruvian EDI (SUNAT). Mapping the cancel reason guarantees that the electronic document accurately reflects both the refund code and the descriptive cancellation text provided by the user. opw-6238525 Forward-Port-Of: odoo/enterprise#118479
This update fixes an issue where portal users were incorrectly redirected to a different folder when accessing documents. The fix ensures that links from the Documents section always direct users to the intended folder, improving the user experience. This was caused by a minor coding oversight that has now been corrected.
Original PR description
# How to reproduce - As admin, give access to folder X & folder Y to a portal user - As that portal user, go to Documents, click on folder X and copy the page url - Click on folder Y - Paste the URL in the browser's search bar # The problem You are still in folder Y, even though the link should be to folder X. # Cause We forgot to keep `documents_init`' s `folder_id` (refactored into `user_folder_id`) in https://github.com/odoo/odoo/commit/6bdcc357b195faa0aad8c05eac23aa0a762dd76b opw-6132231
This update corrects a calculation error in the Swiss Balance Sheet's Equity section. A new 'Profit / Loss brought forward' line has been added to accurately separate legal reserves and retained earnings. The previous 'Annual profit or annual loss' field is now purely informational.
Original PR description
Fix the Equity section in the Swiss Balance Sheet. Adding a new line 'Profit / Loss brought forward' for the result brought forward, that allows to separate the legal reserve and the results. The new structure for the equity section is: - Share, corporate or foundation capital - Legal reserve - Retained earnings - Profit / Loss brought forward - Previous years' unallocated profit or loss - Treasury shares The 'Annual profit or annual loss' is now purely indicative and is not taken into account in the equity computation, as the amounts in this section are considered in the new Retained Earnings section. task-6220525
1 change
Resolved issues and error corrections
This update addresses several minor issues within the odoo spreadsheet component. It includes fixes for functionality related to pivot tables, data formatting, and a menu item that previously didn't work correctly. These changes improve the overall stability and usability of the spreadsheet feature.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/3ff29f6022 [REL] 18.0.70 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/3ff29f6022 [REL] 18.0.70 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/7697719097 [FIX] Formats: support non-standard space characters [Task: 6259325](https://www.odoo.com/odoo/2328/tasks/6259325) https://github.com/odoo/o-spreadsheet/commit/474c1d9ae8 [FIX] pivot: adding a pivot definition marks it as unused [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/bbf5de7a8a [FIX] Pivot: runtime definition might not be loaded [Task: 6267596](https://www.odoo.com/odoo/2328/tasks/6267596) https://github.com/odoo/o-spreadsheet/commit/0c21874843 [FIX] table: "delete table" menu item does not always work [Task: 6247743](https://www.odoo.com/odoo/2328/tasks/6247743) https://github.com/odoo/o-spreadsheet/commit/8b311d7164 [PERF] menu: avoid quadratic complexity with proxies [Task: 6250318](https://www.odoo.com/odoo/2328/tasks/6250318) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>
1 change
Resolved issues and error corrections
This update ensures the Odoo spreadsheet functionality is running the latest version (17.0.100). The changes include performance improvements and bug fixes related to how spreadsheets are accessed and used within the application. This update contributes to a smoother and more reliable spreadsheet experience.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/55a7453225 [REL] 17.0.100 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/b16b3ce5d8 [PERF] menu: avoid quadratic complexity with proxies [Task: 6250318](https://www.odoo.com/odoo/2328/tasks/6250318) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>