Thursday, February 13, 2025
4 changes · saas-18.1
Resolved issues and error corrections
This fix prevents an error when changing item prices in the French certified point of sale flow. It restores the expected price calculation reference after a naming update, helping sales staff complete transactions without interruption.
Original PR description
Before this commit, modifying the price would cause an error due to a refactoring that converted variable names to camelCase. The function `get_taxed_lst_unit_price` was omitted during this update. opw-4574142 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Restaurant floor plans can now be archived in bulk without causing an error. This keeps point-of-sale configuration cleanup working smoothly for restaurant staff and administrators.
Original PR description
This error occurs when we attempt to archive the floor plans. Steps to reproduce: --- - Install the ``pos_restaurant`` module - POS > Configuration > Floor Plans - Select two plans > Archive Traceback : --- ``ValueError: Expected singleton: restaurant.floor(2, 3, 4, 5)`` At [1], this error occurs because we are retrieving the ``floor_prefix`` data from self, which returns all records instead of a single record. This commit will resolve the above error by using ``floor`` in place of ``self`` in the for loop. [1]- https://github.com/odoo/odoo/blob/4d9984d0b5f5a856104d11261fecd27ddc2e5466/addons/pos_restaurant/models/pos_restaurant.py#L58-L60 sentry-6275463514 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents errors when comparing units of measure that are missing expected hierarchy information. It helps keep unit-related operations stable instead of failing when incomplete data is encountered.
Original PR description
parent_path for self and/or other_uom might not exist. And split operation cannot performed on a null value. 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
Deferred report audit details now exclude invoice or bill lines that fall entirely within the selected report period, matching the behavior already used in report totals. This prevents extra lines from appearing in audits and helps finance teams review deferred amounts more reliably.