Daily updates from Odoo
Tuesday, March 26, 2024
7 changes
2 changes
Enhancements to existing features
This update adds safeguards to discourage point-of-sale modules from directly using the shared POS state inside business data models. It helps reduce future maintenance risk and supports a cleaner, more reliable POS architecture without changing day-to-day user workflows.
Original PR description
*: all pos related modules The pos_store is a global variable that is used to store the current state of the POS. Before we were able to access it from the models directly, but this is not a good practice. For the moment a patch is added to keep the use of it in differents places, but in the future we should remove it from the models and use the pos_store only in the components. A eslint rule is added to prevent the use of pos_store in the models.
A new debug report helps teams understand why payment methods or providers are available or unavailable in specific payment forms. This improves troubleshooting for payment setup across subscriptions, appointments, SEPA direct debit, and website upsell flows while also standardizing related naming internally.
Original PR description
Since 17.0 payment methods were introduced to the user and it became more difficult to debug them in the payment form. For that reason with this commit we added the availability report in payment form that can be displayed in debug mode. The report includes information about compatibility of each payment method and each provider for the given payment context and the reason if it is incompatible. task-2882668 The cleanup is included in this PR as well. - Unified variable name See related PR: - https://github.com/odoo/odoo/pull/151040 - https://github.com/odoo/upgrade/pull/5858
5 changes
Enhancements to existing features
This update adjusts the private car reimbursement rates in the Belgian payroll system to comply with 2024 regulations. The changes ensure that employee car allowances are calculated correctly according to the latest Belgian tax and labor law requirements, affecting how payslips are generated for employees using private vehicles for business purposes.
Original PR description
https://www2.partena-professional.be/LegalPortal/servlet/servlet.FileDownload?file=00P3X00002H45q2UAB
This update enhances the UAE payroll module by adding the necessary salary calculation inputs and rules required for accurate payroll processing in the United Arab Emirates. The changes ensure that the payroll system now has complete support for UAE-specific salary calculations and compliance requirements.
Original PR description
Change adds inputs and rules used for calculating salary in UAE. task-3634461 Forward-Port-Of: odoo/enterprise#53553
This update adds a loading spinner and disables the sign button while an order signature request is being processed. This prevents users from accidentally clicking the button multiple times, which was causing errors and confusion. The improvement makes the signing process clearer and more reliable for customers.
Original PR description
opw-3709064 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The portal icon size is now restricted to a standard 64x64 pixel dimension. This ensures consistency across the platform and eliminates the need for manual icon resizing, making the portal experience more uniform and reducing administrative overhead.
Original PR description
-Sometime we may receive a portal icon that can be a little big or a little small in size, then in order to make it perfectly fit to client portal we will have to edit the icon to 64x64, invoice, sale, project app all have the same 64x64 portal icon. -Therefore we should restrict it to 64x64 to ensure no further action is needed 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
The stock accounting module has been improved to make it easier to customize how inventory ownership is tracked. This refactoring simplifies the code structure, allowing future enhancements for valuing inventory based on specific ownership without requiring extensive code modifications. This change prepares the system for more flexible inventory management capabilities.
Original PR description
Refactored the restrict_parnter_id check in the stock_account module to make it more flexible for future updates.The The purpose of this refactoring is to prepare for a custom module that will value inventory based on specific ownership. Related: https://github.com/OCA/stock-logistics-workflow/pull/1548 @qrtl QT4334 Forward-Port-Of: odoo/odoo#158343