如何在 odoo 的笔记本表单视图中显示现有树视图?

How to display an existing tree view inside notebook form view in odoo?

我有模型 X 的树视图,我想在模型 Y 的窗体视图中显示它 我怎样才能做到这一点?

在这里找到答案

<field name="xxx" context="{'tree_view_ref': 'your_modual.your_tree_view_id'}"/>