Daily updates from Odoo
Saturday, March 16, 2024
4 changes
2 changes
Resolved issues and error corrections
This fix ensures that preparation printers accurately print the details of product variants on receipts, resolving an issue where only the product template name was displayed. This improves kitchen staff's ability to prepare orders correctly, reducing potential errors and improving order fulfillment. The change was implemented as a result of a previous update and includes new tests for variant name and quantity.
Original PR description
Before this fix: Receipts printed with kitchen/preparation printer does not show the details of variants products. Just the product template name. This is ambigious for kitchen as the variant information is generally necessary in order to prepare the order correctly After this fix: Restore the previous behavior regarding the product name used This bug is a side effect of: https://github.com/odoo/odoo/pull/152213 due to the changes to `set_full_product_name` Was also a good occasion to add some tests on the changes name & qty opw-3755391 Forward-Port-Of: odoo/odoo#156390
This update corrects a potential issue where users could accidentally select incorrect payment method lines when creating payments. The fix prevents outdated values by validating the payment method selection, ensuring data integrity and accurate payment recording. This improves the reliability of financial transactions.
Original PR description
When you create or register a payment, the domain of the payment method lines is based on a computed field dependent of the selected journal. The issue is that the interface isn't blocked when…
When you create or register a payment, the domain of the payment method lines is based on a computed field dependent of the selected journal. The issue is that the interface isn't blocked when waiting for the onchange return. So if the user changes the journal, then select the payment method quickly enough while the onchange is still pending, he will be able to select outdated values. It is a limitation of the js framework, so to avoid the user encoding wrong datas, the fix here is to raise a `ValidationError` telling to re-select the payment method. To reproduce: - create second bank journal, with outbound payment method lines having different names than the ones of the first bank journal (in order to distinct them). - slow down the `_compute_payment_method_line_fields` method - create a vendor payment, switch the journal to the one created and select the second payment method (before the onchange ends). - save the payment. -> The payment has a payment method line from a different journal opw-3587241 Enterprise PR: https://github.com/odoo/enterprise/pull/56602 Forward-Port-Of: odoo/odoo#157872 Forward-Port-Of: odoo/odoo#147583
1 change
Enhancements to existing features
Appointment Gantt planning now groups bookings by all assigned resources, making it easier to manage appointment types that use multiple resources, such as restaurants with shared capacity. Resource capacity allocation has also been simplified so staff can handle complex bookings more reliably.
Original PR description
We now group the gantt view by appointment_resource_ids to manage appointment type where multiple resources can be chosen for the booking. It is now possible to manage appointment types of restaurant type (aka with manage capacity and multi resources). The field appointment_resource_id on the calendar event is removed as no longer useful. Everything is now managed with the appointment_resource_ids field. The capacity distribution between resources is simplified and takes the shared resources in last. task-3496901
1 change
Enhancements to existing features
Ecuador's tax authority (SRI) updated income withholding tax rates for 2024. This update modifies the existing tax percentages and adds new tax configurations in Odoo to ensure compliance with the latest regulations. Businesses in Ecuador need these changes to accurately calculate and report employee income taxes.
Original PR description
In 2024 the SRI changes income withholding taxes. We update minor data and create new taxes for the new percentages Forward-Port-Of: odoo/odoo#157226 Forward-Port-Of: odoo/odoo#156740