Odoo Help

Welcome!

This community 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.

1

AssertionError: Element field failed to validate attributes

By
hellequin
on 1/30/14, 11:19 AM 2,124 views

I have a Assertion error in <field mame="model">com.test</field>

<openerp> <data>

<menuitem  name="Com"
    id="base.menu_com_root"

    sequence="80"/>

    <menuitem name="Com"
        id="menu_com_com"
        parent="base.menu_com_root" 
        sequence="1"/>


    <menuitem name="Test"
        id="menu_com_test" 
        parent="base.menu_com_root" 
        sequence="5"/>

    <record id="view_com_test" model="ir.ui.view">
        <field name="name">com.test.form</field>
        <field mame="model">com.test</field>
        <field name="arch" type="xml">
            <form string="Com Test" version="7.0">
                <field name="name"/>
            </form>
        </field>
    </record>

</data>

</openerp>

help me please

its not <field mame="model">com.test</field> but <field name="model">com.test</field>

PARVATHY VIJAYAN P
on 1/31/14, 8:05 AM

-_- ah thx ! stupid error !

hellequin
on 1/31/14, 9:47 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 1/30/14, 11:19 AM
Seen: 2124 times
Last updated: 5/29/15, 4:40 AM