这是我收到的错误消息。
ValueError: Invalid field 'view_type' on model 'ir.actions.act_window'
odoo.tools.convert.ParseError: while parsing file:/c:/users/shaileshbhai/pycharmprojects/odoodev/extra_addons/demo_hospital/view/patient.xml:15, near
<record id="patient_action_new" model="ir.actions.act_window">
<field name="name">patient name</field>
<field name="res_model">hospital.patient</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
</record>