Marc e8fe84b913 Fix get_views: include comodel field metadata for O2M/M2M inline views
The web client needs field metadata for sub-models when rendering
inline list views inside form views (e.g., sale.order.line inside
sale.order form). Now iterates all relational fields and adds their
comodel to the models dict in the get_views response.

Fixes "Cannot read properties of undefined (reading 'fields')" error
on sale.order and account.move stored form views with O2M tabs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 21:40:16 +02:00
Description
No description provided
65 MiB
Languages
JavaScript 55.3%
Fluent 18.6%
Go 15.9%
SCSS 7.4%
CSS 2.2%
Other 0.6%