当尝试安装我的新应用程序时,我得到了一个闲置的错误:
文件";C: \odoo14\server\odoo\http.py";,第317行,在_handle_exception中从new_cause引发异常.with_traceback(无(odoo.tools.covert.ParseError:分析文件/c:/odoo14/server/odo/addons/pfe/views/pfe.xml:9时,靠近
<field name="name">Patients</field>
<field name="res_model">hospital.patient</field>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p clas="oe_view_nocontent_create">
create your first patient!
</p>
</field>
</record>
我可以在您的post-xml-in-p标签中看到一个问题class
属性不正确。你写clas
<p clas="oe_view_nocontent_create">
create your first patient!
</p>
应该是:
<p class="oe_view_nocontent_create">
create your first patient!
</p>