我在这里写是因为我的模块开发中的视图存在问题。解析错误指示如下:
odoo.tools.convert.ParseError:“ ERREUR:价虚NULL违约NOT NULL de Colonn«activity_user_type» 详细信息:La ligne enécheccontient(609,mousseit服务器,ir.actions.server,null,null,action,list,form,1,2020-06-15 21:50:25.334869,1,2020-06-15 21 :50:25.334869,ir_actions_server,代码,5,470,空, 动作= { “ type”:“ ir.actions.act_window”, ...,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null) ”,同时解析文件:/ c:/ program%20files%20(x86)/odoo%2013.0/server/odoo/addons/mousseit/views/views.xml:1
我的view.xml就在下面:
<record model="ir.actions.server" id="mousseit.action_server">
<field name="name">mousseit server</field>
<field name="model_id" ref="model_mousseit_mousseit"/>
<field name="state">code</field>
<field name="code">
action = {
"type": "ir.actions.act_window",
"view_mode": "tree,form",
"res_model": model._name,
}
</field>
</record>
如果有人能解决我的问题,我将不胜感激。
再见。