Odoo Help


Getting External ID error

on 3/11/16, 1:27 PM 948 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

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
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.


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

1 follower(s)


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