ir.actions.server
True
<record model="ir.actions.server" id="print_instance">
<field name="name">Res Partner Server Action</field>
<field name="model_id" ref="model_academy_teachers"/>
<field name="state">code</field>
<field name="code">
action = {
"type": "ir.actions.act_window",
"view_mode": "form",
"res_model": 'academy.teachers',
}
</field>
</record>

注意分号

wizard模板。
True