Daily updates from Odoo
Navigate
Branch
Sunday, July 27, 2025
4 changes
Resolved issues and error corrections
Odoo now handles employee attendances that cross midnight by splitting them into separate daily work entries. This prevents conflicting work entries when overnight shifts are followed by same-day attendances, improving payroll and attendance accuracy.
Original PR description
Steps to reproduce the issue: 0. Set work_entry_source to "attendance" on the running contract of the employee. 1. Create an attendance for yesterday 23:00:00 UTC to today 06:00:00 UTC. 2. Create an…
Steps to reproduce the issue: 0. Set work_entry_source to "attendance" on the running contract of the employee. 1. Create an attendance for yesterday 23:00:00 UTC to today 06:00:00 UTC. 2. Create an attendance today from 08:00:00 UTC to 16:00:00 UTC. Current behavior before PR: Odoo will create a conflicting work entry with the one created in step 1, because the logic recreates all work entries in a timeframe between the start date at 00:00:00 and end date at 23:59:59. The first entry started before this timeframe, so the recreated work entry does not align with the existing one, causing a conflict. Desired behavior after PR is merged: The work entries now span a single day at a time. If an attendance starts at night and ends the next morning, two entries will be created: one from the start time to end of day, and another from the start of the next day to the end time. opw-4869604 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#90938 Forward-Port-Of: odoo/enterprise#90588
Users with approved temporary exceptions can now reset qualifying tax closing entries without being incorrectly blocked by the standard tax lock date. The change also applies the full set of effective lock rules, including stricter hard locks and parent company locks, reducing incorrect errors while preserving financial controls.
Original PR description
Current behavior before commit: When resetting a closing entry from a tax-locked period, the system raises a lock date error, even if the user has a temporary lock date exception allowing them to…
Current behavior before commit: When resetting a closing entry from a tax-locked period, the system raises a lock date error, even if the user has a temporary lock date exception allowing them to bypass the restriction. Root Cause: The method only checks the company's permanent tax_lock_date, without considering temporary user-level exceptions. As a result, even if an exception is granted, the system still raises a lock error based on the permanent date. Additionally, the hard lock date (which overrides all other lock types and doesnt allow exceptions) and parent company lock date are ignored. Fix: Replaced the direct lock date check with _get_lock_date_violations(), which: - Correctly considers user-specific temporary lock date exceptions. - Returns violations based on effective lock rules (including hard lock). - Provides a more generic error message. Steps to reproduce: - Use a tax report with carryover values (e.g. Belgian VAT return, line 81). - Post a refund using a tax that maps to the carryover (e.g. 21% M). - Generate a closing entry. - Set the company’s tax_lock_date to a date covering the refund. - Grant a temporary lock date exception to the user, covering the same date. - Try to reset the closing entry → Lock date error is raised (incorrectly). opw-4715100 Forward-Port-Of: odoo/enterprise#89762 Forward-Port-Of: odoo/enterprise#85337
This fixes a test setup issue for Indian point-of-sale reporting caused by a field being defined in the wrong edition. It helps keep automated validation stable and prevents avoidable build failures for the affected localization module.
Original PR description
This problem was introduced with [1](https://github.com/odoo/odoo/pull/205481) and [2](https://github.com/odoo/enterprise/pull/83201) Community PR : [219436](https://github.com/odoo/odoo/pull/219436) This breaks the `TestInPosBase` class in Single App Test build with an invalid field `l10n_in_gst_efiling_feature`. Runbot - [229837](https://runbot.odoo.com/odoo/error/229837)
Orderline-specific customer notes are now included on preparation displays in Point of Sale. This helps kitchen or preparation staff see customer requests tied to individual items, reducing missed instructions and order errors.
Original PR description
In this commit: ----------- Orderline-specific customer notes are now included in the preparation display order. <img width="336" height="250" alt="line-customer-note" src="https://github.com/user-attachments/assets/0dc0dd3f-0c14-45ed-9d86-c75f197a2334" /> Task-4879140 Related: https://github.com/odoo/odoo/pull/215761