Daily updates from Odoo
Tuesday, May 20, 2025
3 changes · saas-18.3
Resolved issues and error corrections
The AI agent configuration page now gives the title and subtitle enough space to display properly. This prevents important agent information from being cut off, making the page easier to read and use.
Original PR description
This PR fixes an issue about the title and subtitle of an AI agent being cut on the configuration form view. Prior to this PR, the layout was using a regular div, which badly computed the size of the inner content, which resulted in a cut text due to the lack of a `flex-grow-1` class, as we do in other form views. To handle the issue, we simply add the missing class to the layout. task-4793748 | saas-18.3 | This PR | |--------|--------| |  |  |
Planning Gantt shift labels now hide allocated hours when the shift is already allocated at 100%. This prevents redundant information from appearing in schedule blocks, making planning views easier to read for users.
Original PR description
Before this commit, when a shift has an allocated hours set, the allocated hours is displayed in the gantt pill even if the allocated percentage is at 100%. This commit adds the allocated_percentage field in the gantt view to make sure the allocated percentage is fetched to be able to know if the slot has an allocated percentage set to 100% if yes then the allocated hours will not be displayed in the display name of the gantt pill. This commit also reviews a bit the code to display or not the allocated hours to only call the parent method when it is really needed. task-4801407
This fixes an issue that caused an error when users tried to load sample manufacturing data after enabling work orders. The change restores missing demo data information so the shop floor setup works as expected.
Original PR description
This error occurs when trying to load sample data from the shop floor module with work orders enabled. It appears that a parameter has been removed by mistake on this quality check documents commit:https://github.com/odoo/enterprise/commit/7ebd2ec679cc7649baece6b21a1d78c399d8995b#diff-aed5e2f84ffd8889ad58e6b2a1ba2991b24d055d1fb8bb9d4803ac89bb16894aL236 **Steps to reproduce this error:** * Install MRP (No need of demo data) * `Settings>Enable work order` * Open shop floor and `Load samples` `Value error:not enough values to unpack (expected 6, got 5)` **Solution:** * Adding the missing title parameter in the demo data. **Sentry-6607676446**