odoo/industry#2202

Created by fw-bot
Merged at 4cb8b61bf60cc35e7840b18d7e2d3b0a59bd1c49

Statuses:

label
odoo-dev:saas-19.1-19.0-booking-fix-orders-menu-vava-526888-fw
head
52602b19198489ba7786064c530d235e1c26da88
merged
3 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.

task-6218176

Forward-Port-Of: #2176