odoo/industry#2308

Created by fw-bot

Blocked

label
odoo-dev:master-saas-19.2-booking_engine_kanban_view_owl_error-fix-dhvag-535034-fw
head
8f1d74e861b2fd88a8d96b4a5bc10de967635dbf
odoo/industry
saas-19.2 #2301
saas-19.3 #2305
master #2308 missing statuses

[FIX] booking_engine: prevent Owl error in hotel planning kanban

Steps to Reproduce:
1. Go to Apps → Industry → Install Hotel (load demo data).
2. Open Hotel App.
3. Switch to the Kanban view.

Result:
<img width="978" height="710" alt="image" src="https://github.com/user-attachments/assets/247cc2a3-ac8f-4672-9dd2-2c96e0ce999b" />

Cause of the Issue:

As a result:
Since sale_line_id is no longer loaded in the kanban record payload, the template attempts to access record.sale_line_id.raw_value on an undefined value, resulting in an OwlError.

With this commit:
Remove the corresponding sale section when removing sale_line_id. This keeps the kanban template consistent with the loaded fields and prevents the OwlError.

opw-6261815

Forward-Port-Of: #2301