Saturday, July 5, 2025
1 change · saas-18.4
Resolved issues and error corrections
Work entries now use the employee's company when one is set, instead of defaulting to the currently selected main company. This prevents records from being assigned to the wrong company in multi-company setups, improving payroll and HR data accuracy.
Original PR description
BUG - when you select 2 companies in the multi company widget (A & B, default : A) and I create a work entry for an employee of company B. The work entry will be related to company A. Expected behavior: - The default company should be the employee one if has a one FIX - check if the employee has a company add it to the create vals_list Task: 4781100 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#217393 Forward-Port-Of: odoo/odoo#209011