Search
Navigate
Branch
Monday, December 4, 2023
33 changes
16 changes
New functionality added to Odoo
A new Flipkart sales module lets businesses import and manage Flipkart orders directly in Odoo. It supports order creation, cancellation updates, fulfillment updates, manual synchronization, and shipment label generation, reducing manual work for teams selling through Flipkart.
Original PR description
Sync:
-Creating sale orders from flipkart
-Cancelling sale order from flipkart
-Update sale order for orders Fulfilled by Flipkart
Others:
-Manual Sync Order from Sale Order
-Manual fetch new orders
-Generate shipment label on validation of Delivery (stock picking)
Related Documentation PR - https://github.com/odoo/documentation/pull/6104
task-3179096Enhancements to existing features
The file generation error message component has been made reusable across several accounting and local compliance reports. This helps provide more consistent feedback when export files cannot be generated and makes future report improvements easier to support.
Miscellaneous changes
Issue: In a mono-company setup, users trying to create a quotation from a task face an error message because the mandatory 'company' field in the 'other info' tab is not visible, unlike in multi-company setups. Steps to Reproduce: 1. Install the Field Service app. 2. Activate 'Extra Quotations' in the Field Service general settings. 3. Enable 'Extra Quotation' in the settings of the relevant project. 4. Try creating a quotation from a task in a mono-company environment. 5. Encounter an
Original PR description
Issue: In a mono-company setup, users trying to create a quotation from a task face an error message because the mandatory 'company' field in the 'other info' tab is not visible, unlike in multi-company setups. Steps to Reproduce: 1. Install the Field Service app. 2. Activate 'Extra Quotations' in the Field Service general settings. 3. Enable 'Extra Quotation' in the settings of the relevant project. 4. Try creating a quotation from a task in a mono-company environment. 5. Encounter an error. Resolution: Modified the functionality so that the 'company_id' field defaults to the current company. opw-3596984 Forward-Port-Of: odoo/enterprise#52015 Forward-Port-Of: odoo/enterprise#51290
17 changes
Enhancements to existing features
This update simplifies the kitchen display system by removing preparation category filters. Now all product categories will automatically appear on the kitchen display, making it easier for kitchen staff to see and prepare all items without category restrictions. This improves workflow efficiency by ensuring nothing gets missed.
Original PR description
This commit removes the preparation category so that all categories are prepared and thus displayed on the kitchen display.
Original PR description
…,lu_reports,ro_saft}: make file generation error widget function generic This commit refines the file generation error widget to make it more generic and applicable to various reports. Originally introduced for the saft report (see commit [49c9dc9](https://github.com/odoo/enterprise/commit/49c9dc9151435fddfc2e3b62ad397015f144a7b6), the need arose to extend its functionality to other report categories, necessitating its relocation to the `account_reports` module. Additionally, this commit enhances the feature by optimizing the usage of `action_params`. By adopting `kwargs` instead of `args`, we now explicitly define the parameters used, allowing for greater flexibility when providing the `FileGenerationErrorWidget` with functions that have multiple arguments. task-3619165
Worksheet templates can now be created directly from the list view, making setup faster and more straightforward. Color selection is handled automatically, default templates include helpful placeholder text, and related worksheet tests were updated to match the improved flow.
Original PR description
before this commit, worksheet templates open in form view when new templates is created and user can set color from worksheet form view. This commit remove form view and color fields from list view as user can direct create templates in list view while color can automatically set using template id. Placeholder is added in default worksheet template. task: 3251753
This commit adapts the timesheet_timer_header to better handle its responsiveness. On tablet size screen (mg to lg) the view was breaking. This commit adds a text-nowrap on the stop button and adapt the size of the inputs next to the timer. The timer was also moving the content since it's not a monospace font, a .SCSS file is created to add `tabular-nums` to manage the font size. task-3580643 Community: https://github.com/odoo/odoo/pull/140750 Forward-Port-Of: odoo/enterprise#50055
Original PR description
This commit adapts the timesheet_timer_header to better handle its responsiveness. On tablet size screen (mg to lg) the view was breaking. This commit adds a text-nowrap on the stop button and adapt the size of the inputs next to the timer. The timer was also moving the content since it's not a monospace font, a .SCSS file is created to add `tabular-nums` to manage the font size. task-3580643 Community: https://github.com/odoo/odoo/pull/140750 Forward-Port-Of: odoo/enterprise#50055
In odoo/enterprise#38268, we have added a survey type to allow to simplify the survey creation by only displaying relevant options for the type chosen. We have also added the appraisal type in the hr_appraisal_survey module, and hidden it in the survey views because that type is only relevant for the appraisal module and we don’t want to see it in the survey app. From 16.4, that type is no longer hidden in the app survey. This fix solves the problem. Technical notes: Following the change in
Original PR description
In odoo/enterprise#38268, we have added a survey type to allow to simplify the survey creation by only displaying relevant options for the type chosen. We have also added the appraisal type in the hr_appraisal_survey module, and hidden it in the survey views because that type is only relevant for the appraisal module and we don’t want to see it in the survey app. From 16.4, that type is no longer hidden in the app survey. This fix solves the problem. Technical notes: Following the change in odoo/enterprise#37387 that makes "primary" the override of the survey form that hide the appraisal type, the appraisal type is no longer hidden in the survey app. This is because in the override, we add a class used in css to hide that option (no longer present in survey because of the primary). To avoid modifying view in stable, we target the "appraisal" option without that added class. Task-3613370 Forward-Port-Of: odoo/enterprise#51591
… is private Before this commit -> project.task gantt view > the planned date should not be visible when the task is private -> In reporting after entering into SLA Status Analysis, in the measures button we'll be having both Average Rating and Rating (/5). So we have to disable Average Rating from the Measures drop down menu After this commit -> project.task gantt view > the planned date should be set by default even if the task is private -> I have disabled the Average Ra
Original PR description
… is private
Before this commit
-> project.task gantt view > the planned date should not be visible when the task is private
-> In reporting after entering into SLA Status Analysis, in the measures button
we'll be having both Average Rating and Rating (/5). So we have to disable
Average Rating from the Measures drop down menu
After this commit
-> project.task gantt view > the planned date should be set by default even if the task is private
-> I have disabled the Average Rating field from the Measures drop down men
task-3474438
Forward-Port-Of: odoo/enterprise#51790
Forward-Port-Of: odoo/enterprise#46377Since commit 8c8dfb07f9dcf1612100996a0a224b556da8c508 in community, the xpath was no longer targeting the correct element. Community PR https://github.com/odoo/odoo/pull/132215 task-3463329 part of task-3326263 Forward-Port-Of: odoo/enterprise#51684 Forward-Port-Of: odoo/enterprise#51011
Original PR description
Since commit 8c8dfb07f9dcf1612100996a0a224b556da8c508 in community, the xpath was no longer targeting the correct element. Community PR https://github.com/odoo/odoo/pull/132215 task-3463329 part of task-3326263 Forward-Port-Of: odoo/enterprise#51684 Forward-Port-Of: odoo/enterprise#51011
#### Description Uninstalling the web_map module and installing the knowledge module results in a missing dependency error in 16.0 and a blocking screen when trying to log in from 16.1 onwards. This commit fixes this issue by adding web_map to the dependencies of the knowledge app, as we are importing MapRenderer from the web_map module. See this [commit](https://github.com/odoo/enterprise/blob/16.0/knowledge/static/src/components/external_embedded_view_insertion/views_renderers_patches.js#L
Original PR description
#### Description Uninstalling the web_map module and installing the knowledge module results in a missing dependency error in 16.0 and a blocking screen when trying to log in from 16.1 onwards. This…
#### Description Uninstalling the web_map module and installing the knowledge module results in a missing dependency error in 16.0 and a blocking screen when trying to log in from 16.1 onwards. This commit fixes this issue by adding web_map to the dependencies of the knowledge app, as we are importing MapRenderer from the web_map module. See this [commit](https://github.com/odoo/enterprise/blob/16.0/knowledge/static/src/components/external_embedded_view_insertion/views_renderers_patches.js#L9) Issue is introduced from this [commit](https://github.com/odoo/enterprise/commit/0ffc548c0afa7434f40cccf91df62e5e5172e374#diff-94bdcbce3efa072706e30a6c3110a3b76dc8ce6d0a3e725155308a5cbe0794a2R9) #### Related Task opw-3522134 #### Reproducing the error in 16.0 - [Video](https://drive.google.com/file/d/1tRhJa07iIt46Ec-zj17jseB7Ws5MoqmY/view?usp=share_link) #### Reproducing the error in 16.1 - [Video](https://drive.google.com/file/d/1iM-VcxKCeX5bCKsrNDX6WZVQsrpljH6i/view?usp=share_link) Forward-Port-Of: odoo/enterprise#51614 Forward-Port-Of: odoo/enterprise#49199
[FIX] sale_subscription: allow to cancel and set to quotation uninvoiced orders Before this commit, when an order was a renewal of an invoiced order, it was not possible to cancel it even if this renewal had no invoice. It was also not possible to put it back to quote because the conditions was based on the invoice_count value. This PR also fix the way the invoices are computed for subscriptions taskid: 3527957 Forward-Port-Of: odoo/enterprise#51578 Forward-Port-Of: odoo/e
Original PR description
[FIX] sale_subscription: allow to cancel and set to quotation uninvoiced orders
Before this commit, when an order was a renewal of an invoiced order, it was
not possible to cancel it even if this renewal had no invoice.
It was also not possible to put it back to quote because the conditions was based
on the invoice_count value.
This PR also fix the way the invoices are computed for subscriptions
taskid: 3527957
Forward-Port-Of: odoo/enterprise#51578
Forward-Port-Of: odoo/enterprise#48239The following commit https://github.com/odoo/enterprise/commit/1559549ba108ed7fbeaca42ddf1581f42411939f must be reverted as it did not fully correct the file generation error widget when calling function with multiple arguments. While it fixed the issue for multiple arguments, it does not work anymore in some cases with one argument. Indeed, some errors are raised when using a single parameter with multiple records. task-3610890 Forward-Port-Of: odoo/enterprise#51647
Original PR description
The following commit https://github.com/odoo/enterprise/commit/1559549ba108ed7fbeaca42ddf1581f42411939f must be reverted as it did not fully correct the file generation error widget when calling function with multiple arguments. While it fixed the issue for multiple arguments, it does not work anymore in some cases with one argument. Indeed, some errors are raised when using a single parameter with multiple records. task-3610890 Forward-Port-Of: odoo/enterprise#51647
Unfolding the first or last line of the report allows viewing the detail of the content per account, generating one line for each entry. Those lines didn't use any caret option, so they were not annotable, and did not allow opening the general ledger from them, like on any other report. Forward-Port-Of: odoo/enterprise#51628 Forward-Port-Of: odoo/enterprise#51172
Original PR description
Unfolding the first or last line of the report allows viewing the detail of the content per account, generating one line for each entry. Those lines didn't use any caret option, so they were not annotable, and did not allow opening the general ledger from them, like on any other report. Forward-Port-Of: odoo/enterprise#51628 Forward-Port-Of: odoo/enterprise#51172
pos*: pos_blackbox_be, pos_l10n_se For orderlines with a price of 0, the receipt will now display the price as 'Free' instead of '0.00' and will remove the tax letter following this price. Community PR: odoo/odoo#143285 Forward-Port-Of: odoo/enterprise#51338
Original PR description
pos*: pos_blackbox_be, pos_l10n_se For orderlines with a price of 0, the receipt will now display the price as 'Free' instead of '0.00' and will remove the tax letter following this price. Community PR: odoo/odoo#143285 Forward-Port-Of: odoo/enterprise#51338
…another company - Create a bank account linked to a partner in company A. - Create a statement line with the same account_number in company B. - Open the bank reco widget using a user having access to company A and B => check_company failed when validating the statement line. Forward-Port-Of: odoo/enterprise#51923 Forward-Port-Of: odoo/enterprise#51132
Original PR description
…another company - Create a bank account linked to a partner in company A. - Create a statement line with the same account_number in company B. - Open the bank reco widget using a user having access to company A and B => check_company failed when validating the statement line. Forward-Port-Of: odoo/enterprise#51923 Forward-Port-Of: odoo/enterprise#51132
The REST API UPS integration done in #43538, was missing some changes that were added after version 15.0. Mainly: -Package and Commodity classes moving to `delivery` module. -Commercial invoice for international shipments. Also in 16.0 `group` in views behavior changed, which broke the setup guide in 16.0, this PR contains the fix Forward-Port-Of: odoo/enterprise#51736 Forward-Port-Of: odoo/enterprise#51274
Original PR description
The REST API UPS integration done in #43538, was missing some changes that were added after version 15.0. Mainly: -Package and Commodity classes moving to `delivery` module. -Commercial invoice for international shipments. Also in 16.0 `group` in views behavior changed, which broke the setup guide in 16.0, this PR contains the fix Forward-Port-Of: odoo/enterprise#51736 Forward-Port-Of: odoo/enterprise#51274
[FIX] res_config: change the Chinese yuan offshore currency unique name/code to point to the newly added currency. complementary of [adding the CNH currency PR](https://github.com/odoo/odoo/pull/144331) opw-3599124 Forward-Port-Of: odoo/enterprise#51831
Original PR description
[FIX] res_config: change the Chinese yuan offshore currency unique name/code to point to the newly added currency. complementary of [adding the CNH currency PR](https://github.com/odoo/odoo/pull/144331) opw-3599124 Forward-Port-Of: odoo/enterprise#51831
Resolved issues and error corrections
Fixed display issues with the timesheet timer on tablet-sized screens where the layout was breaking. The timer now displays properly without shifting content, and buttons remain readable on smaller screens. This improves the user experience when tracking time on tablets and other medium-sized devices.
Original PR description
This commit adapts the timesheet_timer_header to better handle its responsiveness. On tablet size screen (mg to lg) the view was breaking. This commit adds a text-nowrap on the stop button and adapt the size of the inputs next to the timer. The timer was also moving the content since it's not a monospace font, a .SCSS file is created to add `tabular-nums` to manage the font size. task-3580643 Community: https://github.com/odoo/odoo/pull/140750
The Knowledge app was missing a required dependency on the web_map module, which caused login failures and errors when users uninstalled web_map and then installed Knowledge. This fix adds the missing dependency to ensure the Knowledge app works properly regardless of web_map installation status.
Original PR description
#### Description Uninstalling the web_map module and installing the knowledge module results in a missing dependency error in 16.0 and a blocking screen when trying to log in from 16.1 onwards. This…
#### Description Uninstalling the web_map module and installing the knowledge module results in a missing dependency error in 16.0 and a blocking screen when trying to log in from 16.1 onwards. This commit fixes this issue by adding web_map to the dependencies of the knowledge app, as we are importing MapRenderer from the web_map module. See this [commit](https://github.com/odoo/enterprise/blob/16.0/knowledge/static/src/components/external_embedded_view_insertion/views_renderers_patches.js#L9) Issue is introduced from this [commit](https://github.com/odoo/enterprise/commit/0ffc548c0afa7434f40cccf91df62e5e5172e374#diff-94bdcbce3efa072706e30a6c3110a3b76dc8ce6d0a3e725155308a5cbe0794a2R9) #### Related Task opw-3522134 #### Reproducing the error in 16.0 - [Video](https://drive.google.com/file/d/1tRhJa07iIt46Ec-zj17jseB7Ws5MoqmY/view?usp=share_link) #### Reproducing the error in 16.1 - [Video](https://drive.google.com/file/d/1iM-VcxKCeX5bCKsrNDX6WZVQsrpljH6i/view?usp=share_link) Forward-Port-Of: odoo/enterprise#49199
A technical update was made to the Field Service Management date widget to ensure it correctly targets the right element after a recent system change. This fix restores proper functionality for date selection in field service operations, preventing potential issues with scheduling and task management.
Original PR description
Since commit 8c8dfb07f9dcf1612100996a0a224b556da8c508 in community, the xpath was no longer targeting the correct element. Community PR https://github.com/odoo/odoo/pull/132215 task-3463329 part of task-3326263 Forward-Port-Of: odoo/enterprise#51081 Forward-Port-Of: odoo/enterprise#51011
This fix resolves an issue where manufacturing orders created without work orders were showing zero average cost in production reports. The problem occurred because employee cost calculations were returning null values when no work orders existed, which broke downstream cost computations. This ensures accurate cost reporting for all manufacturing orders regardless of whether they include work orders.
Original PR description
When there are no work orders on a manufacturing order, the employee cost is `null`, breaking the computation of other fields. ## Steps to reproduce: 1. Install `mrp_workorder_hr_account` 2. Make a MO without work orders and validate 3. Go to Manufacturing > Reporting > Production Analysis 4. Open the pivot view and search for the MO 5. 'Average Total Cost / Unit' is 0 opw-3600343 Forward-Port-Of: odoo/enterprise#51789 Forward-Port-Of: odoo/enterprise#51303
This update fixes how private tasks display their planned dates in project views and removes duplicate rating metrics from helpdesk reporting. The changes ensure that private tasks show planned dates correctly in the gantt view, and simplifies the SLA Status Analysis reporting by removing the redundant "Average Rating" option when "Rating (/5)" is already available.
Original PR description
… is private
Before this commit
-> project.task gantt view > the planned date should not be visible when the task is private
-> In reporting after entering into SLA Status Analysis, in the measures button
we'll be having both Average Rating and Rating (/5). So we have to disable
Average Rating from the Measures drop down menu
After this commit
-> project.task gantt view > the planned date should be set by default even if the task is private
-> I have disabled the Average Rating field from the Measures drop down men
task-3474438
Forward-Port-Of: odoo/enterprise#46377This update improves the shipping information sent to Sendcloud by including the commercial company name for both the sender and receiver. This ensures that shipping labels and delivery information display the correct business entity names, providing better accuracy and professionalism in shipping communications.
Original PR description
This commit adds commercial company name for the receiver and sender partners to the shipping request to sendcloud. opw-3591211 Forward-Port-Of: odoo/enterprise#51676
Fixed a bug where changes made to document fields in the inspector panel were not being saved when the document wasn't selected in the main view. The system now automatically saves inspector changes even when documents are being previewed without selection, ensuring users don't lose their edits.
Original PR description
Bug === When we open the document inspector without selecting the record, if we change some field values, those changes are not saved. The reason for that is that the web client expects the record to be selected in the kanban view / list view if we make a change, which is not always the case in Documents. Task-3586696 Forward-Port-Of: odoo/enterprise#50516
Portal users creating helpdesk tickets via email now receive confirmation emails from the ticket template, improving their experience. Previously, these emails were not sent because the system assumed users don't need notifications for their own actions—but portal users benefit from this feedback since they're less familiar with the system.
Original PR description
Since 7b338e0, Odoo does not send emails if you change the stage of your own tickets (or create them), the rationale being that you don't need to be informed of your own actions. But portal users are not familiar with Odoo so we want to always send them an email if they create a ticket. steps to reproduce: - create a portal user - create an helpdesk team with an alias - set a template on the initial stage - send an email from the portal user email address to that alias before this commit: - the ticket is created but no email is send from the mail template after this commit: - an email from the mail template is sent if a portal user creates a ticket using the email alias opw-3555716 Forward-Port-Of: odoo/enterprise#51992
This fix restores the hiding of the appraisal survey type option in the survey application. The appraisal type is only meant for the HR appraisal module and should not be visible to survey users. A recent technical change inadvertently made this option visible again, and this fix corrects that by targeting the appraisal option with updated styling rules.
Original PR description
In odoo/enterprise#38268, we have added a survey type to allow to simplify the survey creation by only displaying relevant options for the type chosen. We have also added the appraisal type in the hr_appraisal_survey module, and hidden it in the survey views because that type is only relevant for the appraisal module and we don’t want to see it in the survey app. From 16.4, that type is no longer hidden in the app survey. This fix solves the problem. Technical notes: Following the change in odoo/enterprise#37387 that makes "primary" the override of the survey form that hide the appraisal type, the appraisal type is no longer hidden in the survey app. This is because in the override, we add a class used in css to hide that option (no longer present in survey because of the primary). To avoid modifying view in stable, we target the "appraisal" option without that added class. Task-3613370 Forward-Port-Of: odoo/enterprise#51591
Field Service users in single-company setups can now create quotations directly from tasks without encountering errors. The fix automatically sets the company field to the current company, matching the behavior in multi-company environments and removing the need for manual configuration.
Original PR description
Issue: In a mono-company setup, users trying to create a quotation from a task face an error message because the mandatory 'company' field in the 'other info' tab is not visible, unlike in multi-company setups. Steps to Reproduce: 1. Install the Field Service app. 2. Activate 'Extra Quotations' in the Field Service general settings. 3. Enable 'Extra Quotation' in the settings of the relevant project. 4. Try creating a quotation from a task in a mono-company environment. 5. Encounter an error. Resolution: Modified the functionality so that the 'company_id' field defaults to the current company. opw-3596984 Forward-Port-Of: odoo/enterprise#51290
This update fixes a display issue in the Field Service module where partner names and cities were incorrectly breaking onto separate lines. The fix ensures this information displays properly on the same line, improving the readability of customer details in project sharing views.
Original PR description
This commit ensures the partner name and partner city are displayed in the same line. It also updates the code according to the changes made in community (see #144492) Task-3383519
This update corrects the configuration for the Chinese yuan offshore currency (CNH) to properly reference the newly added currency code. This ensures that currency rate systems correctly identify and process offshore Chinese yuan transactions without errors or mismatches.
Original PR description
[FIX] res_config: change the Chinese yuan offshore currency unique name/code to point to the newly added currency. complementary of [adding the CNH currency PR](https://github.com/odoo/odoo/pull/144331) opw-3599124 Forward-Port-Of: odoo/enterprise#51831
Fixed an issue where bank reconciliation would fail when a user with access to multiple companies tried to reconcile a bank statement. The problem occurred when a bank account with the same account number existed in different companies. The fix ensures the system correctly retrieves the bank account from the appropriate company, allowing seamless reconciliation across multi-company environments.
Original PR description
…another company - Create a bank account linked to a partner in company A. - Create a statement line with the same account_number in company B. - Open the bank reco widget using a user having access to company A and B => check_company failed when validating the statement line. Forward-Port-Of: odoo/enterprise#51923 Forward-Port-Of: odoo/enterprise#51132
The website appointment payment module was missing a required dependency declaration in its configuration file. This caused errors during system upgrades because the module tried to use features from the appointment module without it being properly installed first. Adding this dependency ensures the modules load in the correct order and prevents upgrade failures.
Original PR description
The module is dependant on `website_appointment`, but it is missing in the manifest. While upgrading, the issue happens because we try to parse the inherited `website_appointment` view But the module is not installed Since it is a direct dependency, it is better to have it in the manifest https://github.com/odoo/enterprise/blob/17.0/website_appointment_account_payment/views/appointment_templates_appointments.xml#L3
This update corrects how the Field Service Stock module references product quantities to align with recent changes in the core Odoo system. The fix ensures the module uses the correct field name for product quantity calculations, improving consistency across the system and preventing potential data handling issues.
Original PR description
Small refactoring to be coherent with odoo/odoo#144574 Correction of the changes of odoo/enterprise#48709
This fix corrects an accounting error where closing an asset with a non-depreciable value would incorrectly show the book value as equal to the non-depreciable amount instead of zero. This ensures accurate financial reporting when retiring assets that have residual non-depreciable value.
Original PR description
When closing an asset with a non-depreciable value, the book value is equal to the non-depreciable value instead of zero. opw-3565329 Forward-Port-Of: odoo/enterprise#51453