odoo/industry#2209

Created by fw-bot
Merged at 215471454a599f70d9f480870c6ef73f0468d3f2

Statuses:

label
odoo-dev:master-19.0-booking-fix-orders-menu-vava-528834-fw
head
e72bb35a6d9e6c1ec74a3d8a34a9bbbe28ca7a8f
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.

task-6218176

Forward-Port-Of: #2206
Forward-Port-Of: #2176