Daily updates from Odoo
Saturday, April 18, 2026
36 changes
11 changes
Resolved issues and error corrections
A technical error prevented the correct display of worksheets in maintenance reports. This fix adds a required 'readonly' attribute to checkbox fields in the worksheet template, resolving a rendering issue and ensuring reports display correctly. This improves the user experience for maintenance report generation.
Original PR description
Step to reproduce - install maintenance app with demo - go to settings and enable custom worksheet - open default worksheet and add a the checkbox property field - open a maintenance request, add this worksheet in worksheet field - notice, worksheet is visible in notebook - print maintenance report Observation: - we get a traceback ``` odoo.addons.base.models.ir_qweb.QWebError: Error while rendering the template: KeyError: 'readonly' Template: worksheet.worksheet_template_properties_display ``` Cause: - when rendering checkbox, xml props needs `readonly` key for template "worksheet_template_properties_display" but it is not provided by `format_props` of worksheet module or `_get_props_formatted` of `maintenance_worksheet` module. Fix: - we add readonly attribute (default = False) for all boolean prop opw-6079837
This update fixes a problem where users without attendance editing permissions couldn't access overtime records. The fix adds specific user groups to the 'Overtime Details' section, granting access to those users and preventing unauthorized access. This ensures all users can accurately record their attendance.
Original PR description
Steps to Reproduce: - Log in as user which has no access of attendance - Try to open attendance record with overtime Issue: - As users below Self Attendance edit and hr administrator does not have access to rule_ids Fix: - Added groups on 'Overtime Details' section as other user does not have access to read. task-5886324 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves an issue where pressing a space in the HTML editor would unexpectedly open a list of emoji suggestions. The fix replaces spaces within keywords with underscores, preventing these triggers and improving the editor's responsiveness. This ensures a smoother and more reliable user experience.
Original PR description
### Purpose of this PR: - Keywords contained spaces (e.g. "grinning face") which caused the suggestion list to open when the user typed a space. Replacing spaces with underscores in keywords fixes this since a space will no longer match any keyword. Shortcodes never contain spaces so they are unaffected. Names are removed from the lookup as they are already covered by shortcodes or keywords. task-6123666 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes an issue where the order report incorrectly showed a zero amount in the "Down Payments" section header. The change ensures that this section header accurately displays as blank, improving the clarity and professionalism of the report for customers. This resolves a visual inconsistency and enhances the overall user experience.
Original PR description
When creating an order with a down payment, the printed order report incorrectly shows a zero amount on the “Down Payments” line. This line acts as a section header and should not display any amount. opw-5446875 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#242833
This update resolves an issue where dropdowns within knowledge articles weren't closing when clicking outside the embedded view. The fix adjusts the way the system detects clicks, ensuring dropdowns close as expected. This improves the user experience when working with knowledge articles.
Original PR description
Steps to reproduce: - Go to knowledge - Type "/view" in the article -> add a list view - Open a dropdown in that list view (e.g. the cog icon next to "New") - Click outside the list view (e.g. first…
Steps to reproduce: - Go to knowledge - Type "/view" in the article -> add a list view - Open a dropdown in that list view (e.g. the cog icon next to "New") - Click outside the list view (e.g. first paragraph of the knowledge article that contains the list view) => The dropdown does not close Commit [1] removed the `activeEl` param of `popoverCloseOnClickAway`, and inverted the need for the knowledge patch added at [2] (before, it was needed to be able to close dropdowns by clicking inside knowledge embedded views, it is now needed to be able to close them by clicking outside the embedded views). In 19.2, this patch could be removed entirely as [3] made a generic solution for this to work (it will probably be done once this reaches master though). [1]: https://github.com/odoo/odoo/commit/1fb00045c6826ee7c8a7581ff4ab9b3eb2e83478 [2]: https://github.com/odoo/enterprise/commit/97c600ca35ae0513860467e572d587b977617d36 [3]: https://github.com/odoo/odoo/commit/48be3442b2b022c18d9e5d4fc8b9631563094d8e Forward-Port-Of: odoo/enterprise#114082
This update resolves an issue where negative accounting numbers were being split across lines in PDF reports, making them difficult to read. The fix ensures that negative numbers are consistently displayed on a single line, improving the clarity and accuracy of customer statements and other financial reports. This improves the user experience for financial reporting.
Original PR description
When printing accounting reports such as customer statements, a negative number may be split across two lines, leaving the minus sign on the first line and the amount on the second. Steps to reproduce: - Make an invoice for [Partner] with a total of 10.0 - Make another invoice for [Partner] with a total of 100.0 - Create a credit note for this last invoice - Open the customer statement report for [Partner] - Print PDF Issue: The first line of the partner section has fewer digits than the amounts of the subsequent journal items. On pdf, the column width is based on the smaller line, causing the longer negative strings to wrap and separate the minus sign from the amount. opw-5951300 Forward-Port-Of: odoo/enterprise#113727
This update resolves an issue where images on the website weren't displaying properly when accessed from deeper pages within the application. The fix adds missing forward slashes to image source URLs, ensuring the browser correctly interprets these links. This improves the overall user experience and visual consistency of the website.
Original PR description
This commit fixes two missing leading slashes in the "src" attribute of two "img" tags in `s_cta_mockups`. The browser resolves links differently based on leading slashes. Before this commit, the lack of leading slahses caused the snippet to not display properly on deeper pages (for example, "/shop/product-name"). task-6103616 Forward-Port-Of: odoo/odoo#259589 Forward-Port-Of: odoo/odoo#258879
This update resolves an issue where the 'Create a Payslip' button was unresponsive when no payslips existed in the W2 report. The fix corrects a technical error in the system's code, ensuring the button now functions as expected and allows users to add new payslips when needed. This improves the usability of the W2 report generation process.
Original PR description
1.Install l10n_us_hr_payroll 2 Navigate to Payroll>Reporting>W2 Report. 3.Open/Create W2 form and try to add payslip by clicking "Add a line". 4."Create a payslip" button appears if their are no valid payslips. 5.Click it, it won't work! Root cause: - `onAdd` bind was missing in the controller - Renderer applied an additional `.bind(...)`, breaking the callback Fix: - Pass a dedicated `createNewPayslip` action from controller - Remove double binding in renderer - Forward callback directly to helper component task-[5928770](https://www.odoo.com/odoo/project/1251/tasks/5928770) Forward-Port-Of: odoo/enterprise#114058 Forward-Port-Of: odoo/enterprise#111735
This update fixes a bug that prevented users from selecting values in selection fields within list views using keyboard shortcuts like 'Tab' and 'Enter'. The fix ensures that these shortcuts function correctly, improving the user experience when editing data in list views.
Original PR description
Steps: - Open any editable list view (for example sub-list view in sales) - Either it has a selection field or you add it via studio - With two values (for example "true" and "false") - Add a record to your list view - Try to edit the selection field - Popover is opened - You can select any value with a mouse click - You can navigate through values with arrows - You can't select values with `Enter` and `Tab` So list cell in edit mode has a function for all theses hotkeys: - `tab` - `shift+tab` - `enter` - `escape` Because `ListRenderer.onCellKeydown` is called before `hotkeyService.onKeyDown`, if any hotkeys is handled in cell edit mode it will be prevented and the hotkeyService will not propagate it to `select_menu`. That's why arrows are working, because there are not listed in cell edit mode keys. opw-6025476 Forward-Port-Of: odoo/odoo#258743 Forward-Port-Of: odoo/odoo#255029
This update fixes an issue where account searches on invoices were inconsistent – searching by name limited results, while searching by code showed all accounts. The fix ensures consistent account search behavior regardless of whether the search is performed by name or code, and now always displays 'Search more...' in the account suggestions.
Original PR description
Currently, on invoices, the account_id many2one field overrides `name_search` to limit search results based on account types, but that is applied only if the account is searched by name. If the account is searched by code, all the accounts appear in search results which is not intended. This commit fixes that issue. task-6075233 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#257850
This update prevents Odoo from repeatedly reloading images when navigating between different views. Previously, every time a user switched to a related view, all images were re-downloaded, leading to slower performance. The fix now intelligently caches images, reducing unnecessary data transfers and improving the overall responsiveness of the application.
Original PR description
Steps to reproduce ================== - Login as Demo - Go to Employees - Open a record - Go back to the kanban view -> Every image is retrieved again Cause of the issue ================== When loading an image, we add a unique parameter with the write_date of the record. We cannot use that for images on another record. Since we have no way of knowing when the image was changed, we used the timestamp when instanciating the ImageField. The downside is that every time we navigate to a view, every image is reloaded Solution ======== When the image is on another model, we don't pass the unique parameter. This means the image will be cached. A page refresh will be needed if the image has been updated in the current browsing session. opw-6070176 Forward-Port-Of: odoo/odoo#258943
2 changes
Resolved issues and error corrections
This update resolves an issue that could cause incorrect behavior after uninstalling modules due to outdated cached data. By clearing all relevant caches during the uninstall process, the system now ensures a consistent state, preventing errors and improving the reliability of module removals. This enhances the overall stability of the Odoo platform.
Original PR description
When uninstalling a module, the ORM may replace field objects in the registry via a prefetch patch to avoid fetching deleted fields. The previous code only called lazy_property.reset_all(), which resets lazy-property caches, but left _field_trigger_trees and _is_modifying_relations intact. Those structures still held references to the old field objects, and could be consulted by subsequent ORM operations, leading to incorrect trigger resolution or relation tracking. Clear both caches whenever a shared field has been patched so all registry state stays consistent with the new field objects. runbot-242251 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#259941 Forward-Port-Of: odoo/odoo#259820
Calendar synchronization was incorrectly sending invitation emails for past events, triggered by the system's default invitation logic. This fix prevents notifications from being sent for historical events, improving email efficiency. Further investigation is needed to understand the root cause.
Original PR description
## Problem: Calendar synchronization (Google/Outlook) is retroactively adding attendees to historical events. This triggers Odoo's default invitation logic, sending unnecessary emails to partners for…
## Problem: Calendar synchronization (Google/Outlook) is retroactively adding attendees to historical events. This triggers Odoo's default invitation logic, sending unnecessary emails to partners for meetings that occurred in the past. It is not yet clear why this is happening (needs more investigation), but we quick fix this by correctly checking that an attendee is not part of an event on an past date before triggering emails during the `write`. ## Steps to reproduce the bug: 1. Create an new event in the past and save 2. Add a new attendee (partner) to the event SHOULD NOT create a notification email (but it does) ## Remarks: - readapting existing unit test for `test_event_creation_mail`, but a proper new unit test might be needed in a proper refactor. As of now we were never testing if emails are triggered when adding new attendees on an event in past - giving this, this bug might be affecting previous versions. Might need to be backported and tested if needed - added time freeze to `test_event_creation_internal_user_invitation_ics` to account for the fact that implicitly the tested event was in the past - `freeze_time` for certain tests using the class event, which has hard coded dates OPW-6125052 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#259844
2 changes
Resolved issues and error corrections
This update fixes an issue where resource leave requests weren't correctly applied to all resources. Previously, leave requests without a linked resource were ignored. Now, all resource leave requests are applied as intended, ensuring accurate scheduling and resource allocation within the rental planning system.
Original PR description
Before this commit, any `Resource Calendar Leave` created with no `Resource` related to it was ignored, while it should have been applied to all `Resources`. This commit makes sure that any `Resource Calendar Leave` with no related `Resource` is applied to all `Resources` as intended. task-5798796
This update resolves an issue preventing non-stock users from duplicating Helpdesk tickets with associated sales. The fix sets the product ID to 'false' during duplication, allowing users without stock access to create copies of tickets and their linked sales records. This improves usability for a wider range of users.
Original PR description
Steps to reproduce: - Install helpdesk_sale_timesheet. - Create a Helpdesk Ticket and set its sale_line_id. - Log in as a user without stock.group_stock_user access. - Try to duplicate the ticket. Issue: Duplicating a ticket raises an AccessError because the user lacks stock rights required when copying the product_id. Fix: Set `product_id` to False during duplication for non-stock users. Reference: https://github.com/odoo/enterprise/pull/9100 task-5356318 Forward-Port-Of: odoo/enterprise#113564 Forward-Port-Of: odoo/enterprise#101338
5 changes
Resolved issues and error corrections
This update resolves an issue where users without stock access couldn't duplicate Helpdesk tickets with associated sales. The fix sets the product ID to 'false' during duplication for non-stock users, allowing them to create copies of tickets and their linked sales information. This improves usability for all users.
Original PR description
Steps to reproduce: - Install helpdesk_sale_timesheet. - Create a Helpdesk Ticket and set its sale_line_id. - Log in as a user without stock.group_stock_user access. - Try to duplicate the ticket. Issue: Duplicating a ticket raises an AccessError because the user lacks stock rights required when copying the product_id. Fix: Set `product_id` to False during duplication for non-stock users. Reference: https://github.com/odoo/enterprise/pull/9100 task-5356318 Forward-Port-Of: odoo/enterprise#113323 Forward-Port-Of: odoo/enterprise#101338
This update prevents the system from creating refund payments when an uncaptured Stripe payment is voided. Previously, a refund was automatically generated, even though no payment had been collected. This change ensures accurate accounting and avoids unnecessary refund processing.
Original PR description
When an uncaptured Stripe payment is voided, the system will still generate the refund payment entry. Steps to reproduce: - Configure the Stripe payment provider - enable "Capture Manually" - generate webhook - Create a sales order - Generate a payment link and pay with Card - Back to the SO, click 'Void Transaction' Issue: Refund payment entry will be created even if no payment has been collected for the transaction. opw-5866924 Forward-Port-Of: odoo/odoo#259230
This update fixes a potential issue that could cause incorrect behavior after uninstalling modules in Odoo. Previously, outdated references within the system's data structure lingered, leading to problems with how the system tracked relationships. Now, the system clears all relevant caches during uninstall, ensuring a cleaner and more reliable experience.
Original PR description
When uninstalling a module, the ORM may replace field objects in the registry via a prefetch patch to avoid fetching deleted fields. The previous code only called lazy_property.reset_all(), which resets lazy-property caches, but left _field_trigger_trees and _is_modifying_relations intact. Those structures still held references to the old field objects, and could be consulted by subsequent ORM operations, leading to incorrect trigger resolution or relation tracking. Clear both caches whenever a shared field has been patched so all registry state stays consistent with the new field objects. runbot-242251 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#259820
This update resolves an issue where users attempting to save a customer record with an invalid Taiwan VAT number (e.g., containing letters) would experience a crash. The fix adds validation to ensure the VAT number consists only of digits, preventing the error and providing a clear warning message to the user.
Original PR description
**Steps to reproduce:** - Install the `base_vat` module. - Navigate to Invoicing > Customers. - Create a new contact and set the country to `Taiwan`. - Enter `1234567A` as the `Tax ID` and try to `save`. **Error:** `ValueError: invalid literal for int() with base 10: 'A'` **Root cause:** At [1], `check_vat_tw` is missing validation to ensure that the VAT number (without the country code) contains only digits, which causes an error when calling the `int()` method on the VAT number. **Fix:** This commit prevents errors and ensures users receive a `clear warning message`. [1]: https://github.com/odoo/odoo/blob/23398d24e108875b2838715d4b366df265d53234/addons/base_vat/models/res_partner.py#L929-L958 **No task Id** Forward-Port-Of: odoo/odoo#259936 Forward-Port-Of: odoo/odoo#259847
Features or functions removed from Odoo
This update removes a confusing tooltip from the 'tax_scope' field in the accounting module. The tooltip incorrectly suggested this field restricted taxes by product type, which isn't true. This change clarifies the field's function and improves user understanding.
Original PR description
The current tooltip suggests that the `tax_scope` field restricts the use of taxes based on the product type. However, this is misleading, as the field does not enforce any restriction at the product level. To avoid confusion, remove the tooltip entirely. Backport of: https://github.com/odoo/odoo/pull/256573 opw-6118051 Forward-Port-Of: odoo/odoo#259550
1 change
Resolved issues and error corrections
A test case in the Helpdesk Stock module was corrected to remove a field that was no longer relevant. This change ensures the tests accurately reflect the current functionality of the module and avoids potential errors. The fix was automatically validated by automated testing.
Original PR description
Remove sale_line_id field from the test as it belongs to helpdesk_sale_timesheet and is not available in this module. runbot link - https://runbot.odoo.com/odoo/runbot.build.error/242470 Forward-Port-Of: odoo/enterprise#114162
12 changes
New functionality added to Odoo
This update introduces basic financial reports specifically tailored for Uzbekistan businesses. It includes essential reports like the Balance Sheet and Profit & Loss Report, providing localized reporting capabilities for our customers in Uzbekistan.
Original PR description
This commit introduces basic report package for Uzbekistan and includes Balance Sheet and Profit & Loss Report. task-3927927 Community PR - https://github.com/odoo/odoo/pull/241811 Forward-Port-Of: odoo/enterprise#113802 Forward-Port-Of: odoo/enterprise#103136
Enhancements to existing features
This update introduces a system for setting closing dates for employee types within payroll. It now alerts administrators when payrun closing dates are not configured for specific employee types, ensuring accurate payroll processing. This enhancement improves payroll compliance and reporting.
Original PR description
In this commit, we added a payroll_closing_date for the employee type model. We added a warning to notify the user when the payrun closing date for that employee type. task-5922782
Resolved issues and error corrections
This update clarifies how payroll calculations are refreshed. Previously, separate 'Compute' and 'Reset' buttons caused confusion by handling different data. Now, the 'Compute' button automatically performs a complete refresh of both worked days and salary lines, streamlining the process for users.
Original PR description
The "Compute" button only recomputed salary lines while "Reset" also recomputed worked days lines, causing confusion Remove the separate "Reset" action and make "Compute" always perform a full refresh (worked days + salary lines) via action_refresh_from_work_entries. task-6075229
This update resolves an issue where timesheet suggestions were sometimes double-subtracting entries, leading to inaccurate time tracking. By tracking assistant-created timesheets, the system now correctly avoids proposing time that has already been manually entered, ensuring more accurate time reporting.
Original PR description
[IMP] timesheet_grid: handle manual entries conflict in assistant Manual timesheet entries should be subtracted from the assistant suggestions to avoid proposing time that has already been entered. Since manual entries can come from multiple sources (systray, grid, etc.), we now track assistant-created timesheets (those created via "Take" or by selecting suggestions) and exclude them from the manual subtraction pass. This avoids double-subtracting entries that are already handled via consumedEvents. task-6116579
This update fixes a previous issue where the 'upload bills/refunds' button was incorrectly applied to all bank statement lines. Now, the system accurately identifies whether a bank statement line is positive or negative and displays the appropriate upload button (bills or refunds) for better accuracy.
Original PR description
Fixed an issue where the default for positive and negative bank statement lines were upload bills, now it distinguishes between positive and negative bank statement lines and shows upload bills/refunds accordingly. task-6111047
This update strengthens the security and reliability of Odoo Sign requests linked to server actions. It now enforces required fields – like a specific partner for 'fixed' signers and a target field for 'linked_field' signers – preventing errors and ensuring signature requests are properly configured. This change enhances data integrity and reduces potential issues during signature creation.
Original PR description
Added a constraint to `sign.item.role` to ensure data integrity when configuring signature requests via Automated Actions. When a role is linked to a Server Action (`ir_actions_server_id` is set), the system now strictly verifies that: - Roles with a 'fixed' signer type have a specific partner assigned. - Roles with a 'linked_field' signer type have a target field selected. A `ValidationError` is raised if these conditions are not met. The constraint is specifically scoped to server actions to ensure standard Odoo Sign template creation remains completely unaffected. Added a Python test to guarantee this behavior is strictly enforced. Task: 6069253
This update fixes an issue where the gross salary percentage in the salary simulation preview was incorrectly displayed across multiple lines. The fix ensures the percentage value aligns properly within the preview, providing a cleaner and more accurate representation of the salary calculation. This improves the user experience for offer creation.
Original PR description
[FIX] hr_contract_salary_payroll: fix alignment of percentage field
**Bug production:**
It occurs only in master -> Recruitment app -> offers -> in the salary simulation preview the gross (100%) is appears in 3 lines, not proper.
**Bug cause:**
Due to grid structure of the parent and since there is nothing to keep them on the same line, it can easily pass to the below lines.
**Bug solution:**
Adding d-inline-flex to the inside span and adding text-nowrap to the parent div
task - 6044681This update simplifies the generation of sales order PDFs by removing unnecessary customer signatures and the associated tab from the Sales Order view. This change ensures a cleaner, more streamlined PDF experience for sales professionals, aligning with recent updates in the Odoo Community edition.
Original PR description
Right now, a signed order can be modified afterward while retaining the signature on the newly generated PDF. In https://github.com/odoo/odoo/pull/245198, we remove the customer's signature of all generated Quotation/SO's PDF except from the one they actually signed. We also remove the "Customer Signature" tab from the Sales order view. This tab was referenced to extend the template in the `sale_subscription` module. In this commit, we remove this reference and replace it for a reference to the tab before the removed one. task-5421716
This update fixes an issue where the Gantt view incorrectly displayed multiple time periods (e.g., 3 weeks) instead of the user's chosen one. The change ensures the Gantt view accurately reflects the selected time frame, improving usability and aligning with core planning functionality. This resolves a visual inconsistency.
Original PR description
Steps: - Go to the Project module. - Click on any project that has tasks. - Click on the Gantt view for this project. - Select a specific time period from the top menu (e.g., "Week"). Issue: - The Gantt view displays three periods (e.g., 3 weeks) instead of just the single period the user selected. Cause: - The default `getRangeFromDate` method was explicitly configured to calculate and return 3 time ranges centered around the focused date. [Link to Source Code](https://github.com/odoo/enterprise/blob/1cab53af040ca34f5c54843771a705b771ea41dd/web_gantt/static/src/gantt_model.js#L291-L296) Fix: - Override the `getRangeFromDate` method to calculate and return exactly one single time range based on the selected rangeId (week, month, year, etc.). This ensures the Gantt view only shows the selected time frame, aligning our module's behavior with the core planning.slot module. task-ID: 6049330
This update fixes a display issue in the account reports section. When a user selects the 'Local Gaap' ledger, the journal filter now correctly shows 'Local Gaap' instead of the company name. This ensures consistent and accurate reporting for users.
Original PR description
When a journal is archived, the name on the journal filter do not show 'Local Gaap' when the Local gaap ledger is checked. When the local gaap is selected, changed the display name of the journal filter. Before: Name of the companies whose all local gaap journals are selected After: 'Local Gaap' task-6111366 Forward-Port-Of: odoo/enterprise#113608
This fix resolves an issue where POS users with limited access rights encountered errors when closing their sessions, requiring administrator privileges to complete the process. The update simplifies the process by removing unnecessary checks for API credentials, ensuring a smoother user experience for POS users working with Fiskaly in Germany.
Original PR description
In German location with Fiskaly setup. POS users hit an AccessError on read when closing the session from the frontend, then had to finish closing in the backend with admin (base.group_erp_manager)…
In German location with Fiskaly setup. POS users hit an AccessError on read when closing the session from the frontend, then had to finish closing in the backend with admin (base.group_erp_manager) rights. Steps to reproduce: ------------------- * Enable Germany + Fiskaly POS (l10n_de_pos_cert), with a company registered for Fiskaly * Use a user with POS rights only (no Access Rights) * Open POS, sell, then close the session from the POS UI > Observation: A warning redirects to the back end; manual close shows: insufficient rights to read l10n_de_fiskaly_api_secret on res.company (operation read). Why the fix: ------------ The guard only needs to know whether the company is in the Germany + Fiskaly flow; that is already expressed by l10n_de_is_germany_and_fiskaly(), without reading API credentials. Fiskaly RPC helpers on res.company continue to use sudo() where secrets are required; this change fixes unnecessary reads of protected fields in the tax helper, not the security model of the credentials themselves. opw-6074960 Forward-Port-Of: odoo/enterprise#114006 Forward-Port-Of: odoo/enterprise#112618
Features or functions removed from Odoo
This update removes a technical field used to manually track component consumption in MRP work orders. Now, component consumption is handled through standard processes like marking moves as picked or editing quantities directly. This simplifies the process and improves consistency in how components are tracked.
Original PR description
This PR removes the technical field `manual_consumption` logic from mrp. Before this PR: If a move is marked as `manual_consumption=True`, its consumed quantity is not automatically updated on the…
This PR removes the technical field `manual_consumption` logic from mrp. Before this PR: If a move is marked as `manual_consumption=True`, its consumed quantity is not automatically updated on the MO. `manual_consumption` logic basically depended on the move being linked to an operation on the bom_line_id. After this PR: No more `manual_consumption` field. A move's consumed quantity is not automatically updated if it's picked. How the move is being picked is the same which is by marking a move as consumed in the shopfloor app, marking a work order that has component moves as done or simply editing the consumed quantity on the MO form. Changes in behavior: - If the move is marked as picked => it's no longer automatically updated. - Using barcode for mrp: When updating the qty_producing on the finished product, exiting the barcode and entering again => the quantity on the move lines reflect the new changed qty_producing and no more unpicked split move lines are created. However, changing the quantity on the move Lines (instead of the qty_producing) causes the move lines to split as expected [this is not necessarily a limitation but it can be improved if needed]. Community PR: https://github.com/odoo/odoo/pull/253649 Upgrade PR: https://github.com/odoo/upgrade/pull/9794 Task: 5882264
1 change
Resolved issues and error corrections
This update resolves a bug where the 'Update Payment' button remained visible after a batch payment was created for invoices under the Mexican CFDI tax regime. The fix corrects a comparison error in the code that incorrectly included all invoices in a batch payment, leading to the button's persistent display. This ensures the button only appears for the intended invoice updates.
Original PR description
- Create one invoice with the PUE payment policy. - Create another invoice with the PDD payment policy. - Send both invoices to the CFDI. - Create a batch payment for both and reconcile. - Click on Update Payment on one of the invoices. The Update Payment button does not disappear. In the method _l10n_mx_edi_cfdi_invoice_get_payments_diff, we compare the current UUIDs and the previous UUIDs to determine if the button should be shown. However, when there is a batch payment, the current UUID list includes the UUIDs of all invoices in the batch, including the PUE payment (which should normally be filtered out by the continue). The previous UUID list includes only the UUID of the PDD payment. opw-6055781
2 changes
Resolved issues and error corrections
This update prevents Odoo from automatically creating refund payments when an uncaptured Stripe payment is voided. Previously, a refund was generated regardless of whether a payment had actually been collected. This change ensures accurate financial reporting and avoids unnecessary refund processing, improving financial control.
Original PR description
When an uncaptured Stripe payment is voided, the system will still generate the refund payment entry. Steps to reproduce: - Configure the Stripe payment provider - enable "Capture Manually" - generate webhook - Create a sales order - Generate a payment link and pay with Card - Back to the SO, click 'Void Transaction' Issue: Refund payment entry will be created even if no payment has been collected for the transaction. opw-5866924 Forward-Port-Of: odoo/odoo#259230
This update streamlines the data sent from the POS self-order system to the user interface. A small adjustment was made to remove unnecessary fields, resulting in a more efficient and responsive user experience. This improves performance and reduces data transfer overhead.
Original PR description
Fix _generate_return_values to remove some fields that are not needed on the frontend