u’Error occurred while validating the field(s) arch: Invalid XML for View Architecture!’ in OpenERP V7

In my module i try to regtoup the date field by day, but when trying to upgrade the module an Invalid XML for view error appear:

This is the part of XML that generate the error (:year):

<record model="ir.ui.view" id="id_view_contact">
            <field name="name">test.base.graph.view1</field>
            <field name="model">test.base</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="contacts" type="bar"  >
                    <field name="create_date:year" type="row" group="False" />
                    <field name="name" type="col"/>
                </graph>                        
            </field>
        </record>


Source: xml

Leave a Reply