[Resolved] Odoo Error: AssertionError: Element odoo has extra content: record, line 3
Migrate Odoo 11.0 to 13.0
1 2 3 4 5 6 |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 736, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 786, in convert_xml_import relaxng.assert_(doc) File "src/lxml/etree.pyx", line 3547, in lxml.etree._Validator.assert_ AssertionError: Element odoo has extra content: record, line 3 |
Resolved:
Remove line 9-10
1 2 3 4 5 6 7 8 9 10 11 |
<recordid="action_menu_cluster_ready"model="ir.actions.act_window"> <fieldname="name">Cluster Ready</field> <fieldname="res_model">cluster</field> <fieldname="view_mode">tree,form</field> <fieldname="view_id"eval="False"/> <fieldname="domain">[('state','=','draft')]</field> <fieldname="context">{}</field> <fieldname="search_view_id"ref="cluster_ready_search"/> <fieldname="help"type="html"> </field> </record> |
to
1 2 3 4 5 6 7 8 9 |
<recordid="action_menu_cluster_ready"model="ir.actions.act_window"> <fieldname="name">Cluster Ready</field> <fieldname="res_model">cluster</field> <fieldname="view_mode">tree,form</field> <fieldname="view_id"eval="False"/> <fieldname="domain">[('state','=','draft')]</field> <fieldname="context">{}</field> <fieldname="search_view_id"ref="cluster_ready_search"/> </record> |
Dilihat sebanyak : 1382 kali
Leave a Reply