Daily updates from Odoo
Thursday, February 27, 2025
14 changes
5 changes
Enhancements to existing features
Purchase orders now use a single confirmed status instead of splitting confirmed orders between two similar statuses. This reduces confusion in purchasing workflows and makes budget, commission, and dashboard reporting easier to interpret.
Original PR description
Before this commit: ------------------ The 'done' state in purchase orders was inconsistently used, causing confusion and adding unnecessary complexity. Both 'purchase' and 'done' states were required to distinguish confirmed POs, despite minimal differences. After this commit: ------------------ The 'done' state is removed, and the 'purchase' state alone now represents confirmed POs. This simplifies workflows and reduces ambiguity. task-4328798
Appointment scheduling now warns users when selected resources or people are already occupied by another event. This helps teams avoid double-bookings directly from the Gantt view and uses shared calendar availability information for more consistent conflict checks.
Original PR description
**[IMP] appointment{_hr}: use 'unavailable_partner_ids' to warn]**
Previously we used 'on_leave_partner_ids' to show a warning of a conflicting event
with users
This PR adapt the unavailable_partner_ids which is defined in the calendar module
to warn the user about conflicting events.
**[IMP] appointment: warning on already booked resource**
Warn the user when booking resources from the gantt view,
if other events already occupied those resources.
Task-3997545This update adds behind-the-scenes typing information for IoT and preparation display services. It helps developers work faster and more reliably through improved editor suggestions, with no direct change for end users.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/199372 This commit adds typing information for IoT and pos_preparation_display services, to enable editor auto-completion.
The French FEC import process now keeps duplicate-entry handling within the FEC import feature itself. This reduces unnecessary impact on broader accounting setup areas, making the change more focused and easier to maintain.
Original PR description
This commit, along with an equivalent community commit, keep the ignore duplicates logic exclusive to FEC import module. Previously, the logic was touching the chart template in account module, and it was also touching the ORM, which was unnecessary. task-4556286
This update simplifies internal test setup around mail and marketing automation so modules rely on lighter shared tools instead of heavier sample data. It also prevents database commits during tests, improving reliability and supporting future performance and scalability work.
Original PR description
Move tools in mail tool class. That way modules don't have to depend on the MailCommon class, just the lower one MailCase without demo and data setup. Lessen usage of MailCommon When possible, use a lower class like MailCase that holds tools and helpers but does not propagate setup data. While browsing through test classes, remove useless setup. Task-4605118: [marketing_automation] Unbordelize test classes Prepares Task-4224152: [marketing_automation] Performance / Scalability
9 changes
Enhancements to existing features
Point of Sale can now support payment methods that do not automatically send a payment to the terminal as soon as a payment line is added. This helps with scenarios such as splitting a purchase across multiple cards or adjusting the amount before sending it to the terminal, while keeping the existing fast payment behavior as the default.
Original PR description
Enterprise PR: https://github.com/odoo/enterprise/pull/79432 As part of adding the Tyro payment method, new functionality was required in order to not automatically send payments to the terminal upon adding a payment line. This gives a chance to input a different payment amount, for example when splitting the payment between multiple cards. By default the behaviour is the same as before, but if a payment method overrides `fast_payments` to false, then payments will not be sent automatically (the same behaviour as pre v18). task-4086116 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Task Adhoc side: 44224 Update l10n_ar_withholding translations. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Original PR description
Task Adhoc side: 44224 Update l10n_ar_withholding translations. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update streamlines the point-of-sale scale weighing flow and related IoT scale driver code to support EU Measuring Instruments Directive compliance. By removing unused code and narrowing the certified code area, it makes scale-related POS operations easier to verify and maintain.
Original PR description
In order to comply with the EU Measuring Instruments Directive, the code for weighing products must be verified with a checksum to ensure it has not been modified. This PR refactors both the IoT driver and the POS code, with the goal of removing dead code and making the amount of code that needs to be certified as small as possible. Enterprise PR: https://github.com/odoo/enterprise/pull/75269 task-3929839 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Long website names now display more cleanly in the website selector, systray item, and analytics page button. This prevents oversized names from disrupting the interface by shortening them neatly with an ellipsis.
Original PR description
This commit enhances the display of the website name in the dropdown menu and the website systray item by utilizing the `text-truncate` class to manage long names more effectively. task-4069591
Inventory transfers involving many serial-numbered items are now validated much faster. The change reduces repeated accounting checks during stock valuation, cutting wait times significantly for warehouse and purchasing workflows.
Original PR description
### Description: Validating a picking with serial numbers can be slow. This is caused by the method `_account_entry_move` which was made to be called one by one on each valuation layer. The issue is each time this method is called, it needs to check if the move is in or out, which is not optimal since each valuation layer can have the same move. ### Fix: We can't change the way `_account_entry_move` works in stable but we can batch `_is_in` and `_is_out` outside the method. This change will reduce the time taken by each `_account_entry_move` and remove unnecessary calls. ### Benchmark (in 18): | # of moves | Before | After | |---------------------|----------|---------| | 8 (with 1000 each) | 13:57 | 3:46 | | 3 (with 1489 each) | 8min | 2:53 | | 1 (with 1489) | 2:47 | 36s | ### Reference: opw-4550348
The website generator now gives the website scraper more control over style customizations instead of applying fixed restrictions. This should improve how generated websites preserve or adapt visual styling from source sites.
Original PR description
Remove the restrictions of the make_scss_customizations from the website generator and instead let the website scraper have full control.
This update helps POS installations in EU countries comply with weighing-scale certification rules by verifying the relevant scale software with a checksum. It also adds a POS status indicator and an auto-fix option for rounding settings when certification requirements are not met.
Original PR description
In order to comply with the EU Measuring Instruments Directive, the code for weighing products must be verified with a checksum to ensure it has not been modified. This commit adds an endpoint for retrieving the checksum of the relevant scale code, as well as refactoring of the code to make it as simpler and to reduce the amount of code that needs to be certified. Community PR: https://github.com/odoo/odoo/pull/189846 task-3929839
Users exporting Dutch SBR tax reports now receive a clear warning and a link to Accounting settings when the required certificate or key is missing. This prevents an unexpected error screen and helps users quickly fix the configuration before exporting.
Original PR description
This PR adds a redirect warning sending the user to the Accounting settings when the certificate or the key is missing before an xbrl export to avoid a traceback and give a friendlier feedback to the user. --- linked to opw-4563442
Update l10n_ar_reports and l10n_uy_edi translations. Task Adhoc side: 44224
Original PR description
Update l10n_ar_reports and l10n_uy_edi translations. Task Adhoc side: 44224