Daily updates from Odoo
Saturday, August 15, 2026
5 changes · master
Resolved issues and error corrections
Payroll configuration now hides Mexico-specific CFDI settings when users are working in a non-Mexican company. This prevents irrelevant options from appearing and reduces confusion for companies outside Mexico.
Original PR description
Steps to reproduce: 1. Switch to a non-Mexican company. 2. Go to Payroll > Configuration > Settings. 3. The CFDI settings block is visible. Reason: The CFDI block was missing a country check. Solution: Restrict the CFDI block visibility to Mexican companies. Task-6448440 Forward-Port-Of: odoo/enterprise#127022
The Attendance Gantt view now stays focused on today when users switch between time scales, as long as today is already within the visible range. This prevents users from losing their place when moving from a weekly view back to a daily view, making scheduling and attendance review smoother.
Original PR description
**Steps to Reproduce:** 1. Open attendnace Gantt view. 2. Set the scale to Week. 3. Set the scale back to Day. The view loses focus on today. **Reason:** * Before, when changing the scale on Gantt views and shrinking it, the view would always reset to today. * This behaviour was recently changed by the JS framework team to instead anchor the new time period around the date currently centered in the viewport. **Solution:** * If the current range includes today, scale while preserving today in the range. * Otherwise, keep the current behaviour and use the center of the viewport. Task: 6346363 Forward-Port-Of: odoo/enterprise#127387
This fix ensures draft field service planning shifts are included when Equipment is enabled or initialized. It restores the expected equipment and lot information updates after an internal planning status name changed.
Original PR description
After odoo/enterprise#113153 renamed planning.slot states `draft` to `1_draft`, enabling Equipment no longer recomputed lot_ids on draft shifts because set_values/post_init still searched for state `draft` Forward-Port-Of: odoo/enterprise#127881
This fix declares a missing internal test dependency so the Mail Enterprise test suite can run reliably. It helps prevent false failures in automated checks and supports smoother delivery of future updates.
Original PR description
The test test_check_cloc_result_in_icp uses a model from test_tools, then the dependency is required. runbot-945971
Code cleanup and technical improvements
Brazilian fiscal reform functionality has been moved into the standard localization modules, replacing separate temporary reform modules. This keeps the 2026 tax reform preparation in the main Brazilian invoicing workflow without intended changes for users.
Original PR description
The 2026 Brazilian fiscal reform required us to implement changes in new modules because of the stable policy. We merge all this functionality into the standard modules and remove these *_fiscal_reform ones. This commit should not introduce any change of behavior. task-6418119