Monday, October 3, 2022
4 changes · master
Resolved issues and error corrections
Customer rating reports now only show ratings that belong to the user's company. This prevents teams in multi-company setups from seeing ratings from other companies and keeps reporting aligned with each business entity.
Original PR description
Before this commit, in helpdesk > reporting > customer rating the ratings were visible to all companies even if they don't belong to that company So in this commit, the ratings are visible to the respective company only task-2995118 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
Loyalty programs that are not tied to a specific company now use the current company when calculating currency conversion amounts. This prevents errors in multi-company setups and helps discounts apply correctly for shared loyalty programs.
Original PR description
In the present when in a multi-company environment it is possible to create loyalty programs without a company associated to it. This cause a problem when computing conversion rates as conversion rates are associated to a company. After this commit if no company is setted on the loyalty program then when computing the amout to deduce on the loyalty program we fallback to the env company (this is the same way the company is initially deduced on the loyalty program). Task - 3001177 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#101631
The HR user creation flow now defaults the employee creation option to off and hides it when a user is created from an employee record. This reduces confusion and helps avoid accidentally creating duplicate employee records.
Original PR description
Set the default value for create_employee to False. When coming from employee form, hide the create_employee field. task - 2990426
This fixes an issue where choosing today for an online rental could be treated as a date in the past. Customers can now book same-day rentals when allowed, reducing unnecessary checkout errors and lost rental orders.
Original PR description
task-3001403