odoo/industry#2203
Created by fw-bot
- label
- odoo-dev:saas-19.2-19.0-booking-fix-orders-menu-vava-528731-fw
- head
- 7eb7edc59246b3547ab5fa3a622dcc164ed8b89d
- merged
- 2 weeks ago by Industry, Vallaeys Valentin (vava)
| odoo/industry | |
|---|---|
| 19.0 | #2176 |
| saas-19.1 | #2202 |
| saas-19.2 | #2203 |
| saas-19.3 | #2206 |
| master | #2209 |
[FIX] booking_engine: active filter group_by instead of context value
Steps to reproduce:
- Go to booking engine app > orders > open an order
- Open the product catalog
- Traceback
Reason:
the 'group_by' was kept in the context, although the view was changed to another model (product.template instead of sale.order). This leads to an error because the field (rental_status) does not exist on this model.
This commit fixes the issue by activating a group_by filter on the Orders view by default instead of hardcoding the groupby key in the context.
Forward-Port-Of: #2176