Friday, February 28, 2025
4 changes · saas-18.2
Resolved issues and error corrections
Restored a missing selection count helper used by stock orderpoint list buttons. This prevents those buttons from breaking when users select records, keeping inventory replenishment workflows usable.
Original PR description
Buttons in the `stock.StockOrderpoint.listView` template depend on the `nbSelected` method that was moved out of the list controller, so we're adding it back. Task ID: [4614152](https://www.odoo.com/odoo/project/966/tasks/4614152)
The Gantt view now displays fold and unfold icon spacing correctly for right-to-left languages. This improves the visual consistency and usability of the schedule view for users working in RTL interfaces.
Original PR description
This commit fixes a display issue in RTL mode where the padding separating fold/unfold icons appears on the wrong side. This occurs because Font Awesome icons are rotated using a transform in RTL, which also affects padding. The fix replaces padding with a gap to ensure correct spacing.
This fix corrects how purchase order updates are handled when linked to approvals. It avoids extra database work and prevents incorrect internal reassignment, helping purchase approval flows behave more reliably.
Original PR description
The `write` method for `purchase.order` was not correctly overridden in `approvals_purchase`. This commit fixes it so as to avoid unnecessary db queries (i.e. `search` calls) and incorrect reassignment of the values of the `self` recordset. Also does a small improvement of using a defaultdict instead of manually recreating its logic for a normal dict. follow-up to: odoo/enterprise#71294 odoo/enterprise#79559 backport of: https://github.com/odoo/enterprise/pull/79953
The point of sale restaurant appointment Gantt view no longer shows an irrelevant booking helper message. This keeps the POS experience cleaner and avoids confusing staff with appointment-specific guidance in the wrong place.
Original PR description
Purpose ========= An unnecessary action helper was present in the pos Gantt view. Technical ========= https://github.com/odoo/enterprise/commit/427697ac326a7dc41b7e5a43634188b6d1650b69#diff-425f25c619962deff7d699cd67856a5081924b21d1f8f57190abcd719f1da464R26 Here we were using the active_model to prepare showNoContentHelp for the action helper when we go into the Gantt from appointment but this context is also used in the ```pos_restaurant_appointment```. Added our own context for the custom action helper. Task-4607266