Odoo Help


ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture!

on 3/29/14, 8:34 AM 800 views

ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture! I am getting this error when importing module

my xml file

<openerp> <data> <record id="res_docref_tree_view" model="ir.ui.view"> <field name="name">Document ref Tree</field> <field name="model">res.docref</field> <field name="arch" type="xml"> <tree string="Letters"> <field name="name"/> <field name="number"/> <field name="date"/> <field name="department_ids"/> <field name="send_id"/> <field name="mode_of_disp"/> <field name="send_to"/> <field name="send_city"/> <field name="note"/> <field name="state"/> <field name="channel_id"/> </tree> </field> </record> <record id="res_docref_form_view" model="ir.ui.view"> <field name="name">Document ref Form</field> <field name="model">res.docref</field> <field name="arch" type="xml"> <form string="Letter" version="7.0"> <header name="Toolbar"> <button name="action_create" states="draft" string="Create" type="object" class="oe_highlight"/> <button name="action_validate" states="created" string="Validate" type="object" class="oe_highlight"/> <button name="action_send" states="validated" string="Send" type="object" class="oe_highlight"/> <button name="action_cancel" states="draft,created,validated" string="Cancel" type="object" icon="STOCK_CANCEL"/> <button name="action_set_draft" string="Set To Draft" type="object" icon="STOCK_CONVERT"/> <field name="state" widget="statusbar" statusbar_visible="draft,created,validated,sent,cancel"/> </header> <sheet> <group col="4"> <group string="References" col="2" colspan="2"> <field name="name"/> <field name="number"/> <field name="date"/> </group> <group string="department_ids" col="2" colspan="2"> <field name="send_id"/> <field name="send_city" string="Send Date"/> <field name="type"/> <field name="note"/> <field name="channel_id" string="Inbound Source"/> </group> </group>

        <notebook name="Extra">
          <page string="Thread">
            <field name="child_line" colspan="4" nolabel="1"/>
          <page string="Action History">
            <field name="history_line" colspan="4" nolabel="1"/>
          <page string="Copies to External">
            <group name="extern_grp" col="1">
              <group col="1">
                <field name="extern_partner_ids"/>

      <div class="oe_chatter">
        <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
        <field name="message_ids" widget="mail_thread"/>
<!-- Menus -->
<menuitem id="letter_log_menu"
          name="Document References"/>

<menuitem id="res_docref_menu"

<menuitem id="letter_log_config_menu"

<menuitem id="res_letter_out_menu"
          name="Letters ref"

</data> </openerp>

Show me your Terminal log, some fields missing in your python file.

on 3/31/14, 1:28 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/29/14, 8:34 AM
Seen: 800 times
Last updated: 3/16/15, 8:10 AM