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

Getting External ID error

By
Paramita
on 3/11/16, 1:27 PM 469 views
<?xml version="1.0" encoding="UTF-8" ?><openerp>    <data>        <record id="accountrelations_template_tree_view" model="ir.ui.view">            <field name="name">accountrelations.view.tree</field>            <field name="model">sale.accountrelations</field>            <field name="arch" type="xml">                <tree string="tree">                    <field name="relations"/>                </tree>            </field>        </record>        <record id="accountrelations_template_form_view" model="ir.ui.view">            <field name="name">associateaccounts.view.form</field>             <field name="model">sale.accountrelations</field>             <field name="arch" type="xml">                 <form string="form">                 <sheet>                    <group>                    <field name="relations"/>                    </group>                    </sheet>                 </form>             </field>        </record>         <!-- Action -->        <record id="accountrelations_action" model="ir.actions.act_window">            <field name="name">Account Relations</field>            <field name="res_model">sale.accountrelations</field>            <field name="type">ir.actions.act_window</field>            <field name="view_type">form</field>            <field name="view_mode">tree,form</field>        </record>         <!-- Menu position -->        <menuitem id="accountrelations_menu" action="accountrelations_action" parent="associateaccounts_menu"/>    </data></openerp>

Please ask a question, provide information and format your question so that it is readable.

Ermin Trevisan
on 3/12/16, 12:54 AM
2

Sudhir Arya (SA)

--Sudhir Arya (SA)--
10150
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

Stackoverflow

Sudhir Arya (SA)
On 3/12/16, 6:38 AM

Hello Paramita,

Everything looks good after looking at your code.
I have just doubt about parent="associateaccounts_menu" and I guess you might be facing the problem for this as External ID error.

If yes, then make sure the ID is correct and the xml file which contains this ID is loaded first in __openerp__ file.

Thanks,

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

1 follower(s)

Stats

Asked: 3/11/16, 1:27 PM
Seen: 469 times
Last updated: 7/22/16, 9:38 AM