odoo/industry#2176

Created by Industry, Vallaeys Valentin (vava)
Merged at 7ab662b62a8f74d4915ec9095bf9264935c79c58

Statuses:

label
odoo-dev:19.0-booking-fix-orders-menu-vava
head
1f8b52ca09cd465e8f6994454897dc9acfa2ac06
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