Wednesday, September 13, 2023
21 changes · master
Enhancements to existing features
The Knowledge command palette now includes descriptions for all available commands. This helps users understand each action more quickly and choose the right option with greater confidence.
Original PR description
This commit ensures that all commands in the command palette of knowledge have a description. Task-3235223
This update simplifies how Odoo Enterprise loads backend and dark mode interface assets. It aligns Enterprise modules with the main Odoo platform changes, reducing maintenance complexity with minimal expected impact for users.
Original PR description
This commit is the enterprise counterpart of odoo/odoo#135204, which removes the bundle "web.assets_backend_prod_only" and renames the "dark_mode_assets_backend" bundle into "assets_web_dark".
Resolved issues and error corrections
Closing a form dialog with the X button or Escape key now behaves the same as using Discard. This helps prevent inconsistent outcomes when users exit a form without saving changes.
Original PR description
The goal of this commit is to ensure that the form view dialog close button performs the same behaviour as the discard button. To enable this, we had to add the dialogData.dismiss, which lets you add a callBack that will only be executed when a dialog is closed because of the "x" or the "escape" shortcut.
Code cleanup and technical improvements
This change streamlines how financial report columns are prepared across accounting and localization reports. It reduces internal complexity for developers, making future maintenance safer while keeping business-facing report behavior unchanged.
Miscellaneous changes
Steps to reproduce: - open accounting app - create new cash transaction - Go back to the overview Bug: reconcile button is missing Fix: restore correct xpath opw-3384351 Forward-Port-Of: odoo/enterprise#45381
Original PR description
Steps to reproduce: - open accounting app - create new cash transaction - Go back to the overview Bug: reconcile button is missing Fix: restore correct xpath opw-3384351 Forward-Port-Of: odoo/enterprise#45381
This fix updates Mexican electronic invoicing POS test tours to open the Point of Sale app using the standard POS method. It reduces failures in automated checks, helping keep POS invoicing workflows stable without changing user-facing behavior.
Original PR description
The tours in this module are not relying on the default method for opening the pos app. This has caused problems. In this PR we replace one of the tour steps with the default method from POS. https://github.com/odoo/odoo/pull/131171
Original PR description
[REF] account_reports: build column dict Refactors '_build_column_dict' to take less arguments. The idea is to have as little arguments as possible making the function easy and straightforward to use on most cases. The main difference is that instead of passing column values like 'figure_type' or 'blank_if_zero', we pass the whole column and then recover the values we need inside the function.
The appointment calendar’s small side-panel calendar now uses Odoo’s own date picker instead of the older third-party component. This keeps the scheduling experience consistent with the rest of the product and supports ongoing maintainability.
Original PR description
Adaptations following the removal of the jQuery UI Datepicker usage for the sidepanel's mini-calendar in the Calendar View and replace it by our own DateTimePicker component. task-3439226
The Planning calendar no longer attempts to load an outdated calendar add-on that is no longer used. This keeps the module aligned with the platform’s updated date handling and reduces unnecessary maintenance risk.
Original PR description
The community commit removes moment completely as we are now using luxon everywhere, this commit stops trying to load the fullcalendar moment plugin as it's been removed and is no longer needed. Community: https://github.com/odoo/odoo/pull/135182
With an MX company setup (usign PAC SW Sapien) Create an invoice Send & Print Traceback will raise `AttributeError: 'l10n_mx_edi.document' object has no attribute '_l10n_mx_edi_document_get_sw_token'` opw-3474233 Forward-Port-Of: odoo/enterprise#47282
Original PR description
With an MX company setup (usign PAC SW Sapien) Create an invoice Send & Print Traceback will raise `AttributeError: 'l10n_mx_edi.document' object has no attribute '_l10n_mx_edi_document_get_sw_token'` opw-3474233 Forward-Port-Of: odoo/enterprise#47282
Impacted modules : account_asset, account_batch_payment, account_budget, industry_fsm_sale Mirror changes in community. Since `<strong/>` and `<b/>` tags received "bolder" as `font-weight` value, there was an inconsistency in some kanban titles, some of them were too bold. This commit adapts these titles to match the style of kanban titles. Community: - https://github.com/odoo/odoo/pull/134381 Forward-Port-Of: odoo/enterprise#47004
Original PR description
Impacted modules : account_asset, account_batch_payment, account_budget, industry_fsm_sale Mirror changes in community. Since `<strong/>` and `<b/>` tags received "bolder" as `font-weight` value, there was an inconsistency in some kanban titles, some of them were too bold. This commit adapts these titles to match the style of kanban titles. Community: - https://github.com/odoo/odoo/pull/134381 Forward-Port-Of: odoo/enterprise#47004
The service type `FEDEX_REGIONAL_ECONOMY` is a new service type in FedEx, to facilitate shipments inside Europe and UK. This commit adds support for this service type. opw-3487855 Forward-Port-Of: odoo/enterprise#46980
Original PR description
The service type `FEDEX_REGIONAL_ECONOMY` is a new service type in FedEx, to facilitate shipments inside Europe and UK. This commit adds support for this service type. opw-3487855 Forward-Port-Of: odoo/enterprise#46980
…emand sale_subscription can be difficult to debug when bug occurs. This change allows to define a system parameter: 'sale_subscription.full_mail_traceback' to sed a full traceback to the responsible of the contract if something bad happens during invoice creation. This parameter should not be activated all the times but it could make easier to understand issues with contracts and customizations. taskid: 3459998 Forward-Port-Of: odoo/enterprise#46998 Forward-Port-Of: odoo/enterprise#45989
Original PR description
…emand sale_subscription can be difficult to debug when bug occurs. This change allows to define a system parameter: 'sale_subscription.full_mail_traceback' to sed a full traceback to the responsible of the contract if something bad happens during invoice creation. This parameter should not be activated all the times but it could make easier to understand issues with contracts and customizations. taskid: 3459998 Forward-Port-Of: odoo/enterprise#46998 Forward-Port-Of: odoo/enterprise#45989
Steps to reproduce: - Install `Documents` module - Go to `Documents > Configuration > Workspaces` - Create a new workspace named 'Test Workspace' - Go to Documents and add a document in 'Test Workspace' - Go to `Documents > Configuration > Workspaces` and open `Test Workspace` - Click on stat button `Documents` (should have 1 as count) - On left sidebar click on another folder (e.g. Internal) - Go back to workspace and click again on stat button `Documents` Issue:
Original PR description
Steps to reproduce: - Install `Documents` module - Go to `Documents > Configuration > Workspaces` - Create a new workspace named 'Test Workspace' - Go to Documents and add a document in 'Test Workspace' - Go to `Documents > Configuration > Workspaces` and open `Test Workspace` - Click on stat button `Documents` (should have 1 as count) - On left sidebar click on another folder (e.g. Internal) - Go back to workspace and click again on stat button `Documents` Issue: No documents are displayed because focusing on the wrong folder. Cause: Using `default_folder_id` in context instead of `searchpanel_default_folder_id`. opw-3416991 Forward-Port-Of: odoo/enterprise#47274 Forward-Port-Of: odoo/enterprise#46506
During this commit (https://github.com/odoo/enterprise/commit/f435654f70f3d6a1fec7fa696945f2c0eb9a7056) it seems that the filter on the aged partner balance has been removed, this pr correct that. task: 3497513 Forward-Port-Of: odoo/enterprise#47239 Forward-Port-Of: odoo/enterprise#47160
Original PR description
During this commit (https://github.com/odoo/enterprise/commit/f435654f70f3d6a1fec7fa696945f2c0eb9a7056) it seems that the filter on the aged partner balance has been removed, this pr correct that. task: 3497513 Forward-Port-Of: odoo/enterprise#47239 Forward-Port-Of: odoo/enterprise#47160
Current behaviour: --- In the portal, Subscriptions, date format is always yyyy-mm-dd Expected behaviour: --- Date format should adapt to the language selected Steps to reproduce: --- 1. Log in with portal user 2. Click on Subscriptions 3. Dates are yyyy-mm-dd 4. Should be mm/dd/yyyy in en_US opw-3348157 Forward-Port-Of: odoo/enterprise#46735
Original PR description
Current behaviour: --- In the portal, Subscriptions, date format is always yyyy-mm-dd Expected behaviour: --- Date format should adapt to the language selected Steps to reproduce: --- 1. Log in with portal user 2. Click on Subscriptions 3. Dates are yyyy-mm-dd 4. Should be mm/dd/yyyy in en_US opw-3348157 Forward-Port-Of: odoo/enterprise#46735
If a bank account is added through the onboarding step and the user creates one instead of linking it, the dashboard is not reloaded to show the completion of the step and the new account. The easiest fix in 16.0 is to return a reload action. This will be changed from 16.4 onwards. task-3431961 Forward-Port-Of: odoo/enterprise#47267 Forward-Port-Of: odoo/enterprise#46250
Original PR description
If a bank account is added through the onboarding step and the user creates one instead of linking it, the dashboard is not reloaded to show the completion of the step and the new account. The easiest fix in 16.0 is to return a reload action. This will be changed from 16.4 onwards. task-3431961 Forward-Port-Of: odoo/enterprise#47267 Forward-Port-Of: odoo/enterprise#46250
Issue: ====== The subscription period in the cart summary is not translated , it is always displayed in english. Steps to reproduce the issue: ============================ - Install subscription , ecommerce and activate french lang for website - Go to subscription and create a product and add a monthly time-based pricing - Go to website from that product , change the lang to fr - Add to cart (Ajouter au panier) - Go to the cart - Process checkout (Procéder au paiement) - You can see
Original PR description
Issue: ====== The subscription period in the cart summary is not translated , it is always displayed in english. Steps to reproduce the issue: ============================ - Install subscription , ecommerce and activate french lang for website - Go to subscription and create a product and add a monthly time-based pricing - Go to website from that product , change the lang to fr - Add to cart (Ajouter au panier) - Go to the cart - Process checkout (Procéder au paiement) - You can see on the right that it is displayed par Month and it should be par mois. Solution: ========= I used the function that computes the display directly. opw-3492112 Forward-Port-Of: odoo/enterprise#47258 Forward-Port-Of: odoo/enterprise#47060
Note, since Shop Floor refactor, this bug no longer occurs, but the code that caused the issue is still there. Therefore we add in the fix in case that code is reused at some point. This code should probably be deleted during a cleanup though ¯\_(ツ)_/¯ Most of the test fixes from original fix are still valid though. Except for those that were fixed/deleted due to the refactor. Old Steps to reproduce (saas-16.3 and earlier): - Create a BoM with 2 operations w/ at least 1 step each - C
Original PR description
Note, since Shop Floor refactor, this bug no longer occurs, but the code that caused the issue is still there. Therefore we add in the fix in case that code is reused at some point. This code should…
Note, since Shop Floor refactor, this bug no longer occurs, but the code that caused the issue is still there. Therefore we add in the fix in case that code is reused at some point. This code should probably be deleted during a cleanup though ¯\_(ツ)_/¯ Most of the test fixes from original fix are still valid though. Except for those that were fixed/deleted due to the refactor. Old Steps to reproduce (saas-16.3 and earlier): - Create a BoM with 2 operations w/ at least 1 step each - Create a MO with 2+ of product w/ the BoM - Split (`action_split`) the MO into 2+ MOs (i.e. MO1 and MO2) - Open WO1_1 (i.e. 1st workorder of MO1) tablet view, complete step, and "Mark as Done" - Close WO2_1 (i.e. 1st workorder of MO2 should have automatically opened) - Open WO1_2 (i.e. 2nd workorder of MO1) tablet view, complete step, and "Mark as Done" Expected result: Should return to WO list view since WO2_2 should still be 'pending' (i.e. waiting for WO1_2 to be completed) Actual result: WO2_2 is automatically opened/started/has its status set to 'progress' Task: 3422853 Forward-Port-Of: odoo/enterprise#47214 Forward-Port-Of: odoo/enterprise#46875
Before this PR when we create task in gantt view which is unassigned task then by default it is assigned to current user . So in this PR we have fixed that issue by removing the default user task-3420151 Forward-Port-Of: odoo/enterprise#47023 Forward-Port-Of: odoo/enterprise#43981
Original PR description
Before this PR when we create task in gantt view which is unassigned task then by default it is assigned to current user . So in this PR we have fixed that issue by removing the default user task-3420151 Forward-Port-Of: odoo/enterprise#47023 Forward-Port-Of: odoo/enterprise#43981
the 'color' attribute was improperly named 'color_field' in the studio editor, which made it impossible to set it up as it returned an error. Forward-Port-Of: odoo/enterprise#47277
Original PR description
the 'color' attribute was improperly named 'color_field' in the studio editor, which made it impossible to set it up as it returned an error. Forward-Port-Of: odoo/enterprise#47277
Each month (or quarter), taxpayers have to give all the data about VAT to the Polish fiscal authorities. We're only generating the xml for now (we don't send it directly yet). We add a button on the tax report that would generate the data, in a new module so current users can have it. All the new fields are added in community, because it will be useful for the EDI that will be done later. We're currently generating JPK_V7M (2). To generate it, we fetch all the fields in SQL, as we cou
Original PR description
Each month (or quarter), taxpayers have to give all the data about VAT to the Polish fiscal authorities. We're only generating the xml for now (we don't send it directly yet). We add a button on the tax report that would generate the data, in a new module so current users can have it. All the new fields are added in community, because it will be useful for the EDI that will be done later. We're currently generating JPK_V7M (2). To generate it, we fetch all the fields in SQL, as we could have a lot of data to generate (1 month or 1 quarter of operations). task-3103658 Forward-Port-Of: odoo/enterprise#47228 Forward-Port-Of: odoo/enterprise#38166