Thursday, November 14, 2024
6 changes · saas-17.4
Resolved issues and error corrections
Point of Sale customer displays now show a single clear error when an IoT Box SSL certificate is missing or invalid, instead of repeatedly failing and darkening the screen. This helps store staff and support teams identify certificate or subscription issues faster and resolve affected customer displays more easily.
Original PR description
Currently, when the IoT Box doesn't have a valid SSL certificate yet when the user is trying to open the Point of Sale customer display it triggers a request error related to invalid SSL certificate in a loop. The screen gets darker and darker and the user needs to connect a mouse to the IoT Box and click on "see the details" to see a non comprehensive error message "ERR_CERT_AUTH_INVALID". This is usually linked to the absence of the IoT subscribtion for this particular database. After this PR the user will see an error on screen once (and not in a 1s loop) suggesting to check the SSL certificate status which will help functional support to solve related tickets more easily. ticket-4175902
Fixes an issue where increasing the quantity of a combo product in the self-order kiosk cart did not update the order price. Combo child items now follow the parent quantity correctly, keeping totals accurate before checkout.
Original PR description
Currently if you try to modify the quantity of a combo product from the cart in the kiosk, the price will not update. Steps to reproduce: ------------------- * Open a kiosk * Add a combo product to the order * Go to review the order * Click on the + button > Observation: The price of the order does not change. Why the fix: ------------ In the backend we can see that the parent quantity was changed accordingly but the child products quantity stayed at 1. We were not accessing the right field when checking the child products. opw-4283481
This fixes an error that could block users from viewing on-hand inventory when a warehouse has been archived. Inventory filtering now handles missing warehouse locations safely, keeping the physical inventory view usable in this edge case.
Original PR description
A traceback occurs when the user tries to filter stock quants by on-hand, if there is no warehouse. To reproduce this issue: 1) Install stock without demo 2) Archive the warehouse 3) Open physical…
A traceback occurs when the user tries to filter stock quants by on-hand, if there is no warehouse. To reproduce this issue: 1) Install stock without demo 2) Archive the warehouse 3) Open physical Inventory from operations 4) Filter it through `On-Hand` through the Toggle Search Panel Error:- ``` AttributeError: 'int' object has no attribute 'startswith' ``` When the user archived the warehouse, we get the `domain_loc` as `[(0, '=', 1)]` at line [2]. This is because there is no location, as the location is derived from the warehouse. If there is no location, it returns three times of`[(0, '=', 1)]` from [1] [1] https://github.com/odoo/odoo/blob/9ce9c6d0d815dcf8fd97fdab484872a607579bd5/addons/stock/models/product.py#L309-L310 [2] https://github.com/odoo/odoo/blob/9ce9c6d0d815dcf8fd97fdab484872a607579bd5/addons/stock/models/stock_quant.py#L240-L241 This leads to the above traceback when `startswith` is used on the first value of the domain which is an integer. https://github.com/odoo/odoo/blob/9ce9c6d0d815dcf8fd97fdab484872a607579bd5/addons/stock/models/stock_quant.py#L180-L184 sentry-6016230486
This update refreshes the spreadsheet component and fixes issues affecting date-based line charts and the color picker. Users should see more reliable chart display and clearer color selection behavior when working with spreadsheets in Odoo.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/5cde4beae [REL] 17.4.12 Task: 0 https://github.com/odoo/o-spreadsheet/commit/66b7d68d4 [FIX] chart: date line chart Task: 4268977 https://github.com/odoo/o-spreadsheet/commit/47659fd17 [FIX] color_picker: conditionally hide reset button Task: 4102704 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Recurring subscription invoices for Mexican companies now correctly create the required CFDI XML file when generated by the scheduled action. This prevents invoices from being left with only a PDF and helps maintain compliance with Mexican electronic invoicing requirements.
Original PR description
### Steps to reproduce: - Install "l10n_mx" and switch to a Mexican company - Assign a UNSPSC to a subscription product - Create a new subscription with this product, select a monthly recurring plan - Normally the next invoice date is today - Now go in "Scheduled Actions" > "Sale Subscription: generate recurring invoices and payments" and run it manually - When coming back to the subscription, click on the invoice - The PDF is created but not the XML file ### Cause: When in `_get_wizard_values()` to retrieve the informations from the invoice the line `values['l10n_mx_edi_cfdi'] = self.l10n_mx_edi_checkbox_cfdi` does not recompute `l10n_mx_edi_checkbox_cfdi` before assigning it as it did in previous versions. So the value of `l10n_mx_edi_cfdi` is False and the XML is not generated. ### Solution: Force the computation of `l10n_mx_edi_checkbox_cfdi` before assigning it. opw-4230920
Belgian payroll now treats unpredictable leave as paid time when calculating the year-end bonus. This helps ensure employees receive the correct 13th month payment in line with payroll expectations.
Original PR description
For the PFA (prime de fin d'année), the unpredictable leaves should be considered as paid. Task: 4331164