view_id 指向固定的tree视图
<!--凭证审核动作-->
<record id='action_ps_account_move_check' model='ir.actions.act_window'>
<field name='name'>凭证审核</field>
<field name='res_model'>account.move</field>
<field name='view_mode'>tree</field>
<field name='view_id' ref='ps_general_ledger.view_move_tree_new_check'/>
<field name='view_mode'>tree,form</field>
<field name="domain">[('state','!=','posted')]</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
凭证审核
</p>
</field>
</record>
view_ids 指向多个视图
<!--凭证审核动作-->
<record id='action_ps_account_move_check' model='ir.actions.act_window'>
<field name='name'>凭证审核</field>
<field name='res_model'>account.move</field>
<field name='view_mode'>tree</field>
<field name='view_ids' eval="[(5, 0, 0),
(0, 0, {'view_mode': 'tree', 'view_id': ref('ps_general_ledger.view_move_tree_new')}),
(0, 0, {'view_mode': 'form', 'view_id': ref('ps_general_ledger.view_move_form_new')})]"/>
<field name='view_mode'>tree,form</field>
<field name="domain">[('state','!=','posted')]</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
凭证审核
</p>
</field>
</record>