When a view specification requests O2M fields (e.g., order_line on sale.order), the response now includes the child records as an array of dicts. Searches child model by inverse_field = parent_id, reads requested sub-fields, and formats M2O/dates/nulls on children too. This makes inline list views in form notebooks show actual data: - Sale order lines (product, qty, price) in sale.order form - Invoice lines in account.move form - Any O2M field with specification in get_views response Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 KiB
12 KiB