Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Please Help , i'm getting this error while installing Module in OpenERP 7.0?

Naroči se

Get notified when there's activity on this post

This question has been flagged
pythonxmlopenerp
2 Odgovori
5394 Prikazi
Avatar
Ali Khan

This is the Error (
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\modules\loading.py", line 76, in <lambda>
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\modules\loading.py", line 124, in _load_data
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 954, in convert_xml_import
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 847, in parse
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 805, in _tag_record
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 824, in id_get
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 833, in model_id_get
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 18, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 46, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server\openerp\addons\base\ir\ir_model.py", line 874, in get_object_reference
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 18, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 46, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server\openerp\addons\base\ir\ir_model.py", line 867, in _get_id ValueError: No such external ID currently defined in the system: sna.sna_aor_c1_form )

(My Configuration)

<openerp> <data>

<!-- ### Orphan START ### -->  
<!-- Orphan Form View -->   
<record model="ir.ui.view" id="sna_orphan_form">
    <field name="name">sna.orphan.form</field>
    <field name="model">sna.orphan</field>
    <field name="inherit_id" ref="sna.sna_aor_c1_form"/>
    <field name="type">form</field>
    <field name="arch" type="xml">
        <form string="Orphans" version="7.0">
            <field name="district_id" select="1"/>
            <field name="sub_district_id" select="2"/>
            <field name="area_id" select="3"/>
            <field name="address_id" select="5"/>
            <field name="officer_id" select="7"/>
            <field name="registration_date" select="9"/>
            <field name="chief" select="10"/>
            <field name="headman" select="11"/>
            <field name="court_president" select="12"/>
            <field name="councillor" select="13"/>
            <field name="vdc_chairman" select="14"/>
            <field name="placed_in_institution" select="15"/>
            <field name="date_placed" select="16"/>
            <field name="institute_id" select="17"/>
        </form>
    </field>
</record>
<!-- Orphan Tree View -->
<record model="ir.ui.view" id="sna_orphan_tree">
    <field name="name">sna.orphan.tree</field>
    <field name="model">sna.orphan</field>
    <field name="inherit_id" ref="sna.sna_aor_super_tree"/>
    <field name="arch" type="xml">
        <tree string="Orphan Setup" editable="bottom">
            <field name="district_id"/>
            <field name="sub_district_id"/>
            <field name="area_id"/>

            <field name="address_id"/>

            <field name="officer_id"/>

            <field name="registration_date"/>
            <field name="chief"/>
            <field name="headman"/>
            <field name="court_president"/>
            <field name="councillor"/>
            <field name="vdc_chairman"/>
            <field name="placed_in_institution"/>
            <field name="date_placed"/>
            <field name="institute_id"/>
        </tree>
    </field>
</record>   
<!-- Orphan Action -->
<record model='ir.actions.act_window' id='sna_orphan_act'>
    <field name="name">Orphan</field>
    <field name="res_model">sna.orphan</field>
    <field name="view_type">form</field>
    <field name="view_mode">tree,form</field>
    <field name="help" type="html">
      <p class="oe_view_nocontent_create">
        Click to create new Orphan.
      </p><p>
        a
      </p>
    </field>
</record>
<!-- Orphan Menu -->            
<menuitem action="sna_orphan_act" id="sna_orphan_menu" parent="sna_beneficiaries"/>
<!-- ### Orphan END ### -->

</data>

</openerp>

0
Avatar
Opusti
Hiral Patel (hip)

Have u define view having id="sna_aor_c1_form"? If no, you have to define it as you are inheriting that view(<field name="inherit_id" ref="sna.sna_aor_c1_form"/>).

Ali Khan
Avtor

yeah bro , i did defined it , now am inheriting it and i get the same error ... Spoiled my whole day :(

Avatar
Nehal
Best Answer

Hi,

You might be using "sna_aor_c1_form" somewhere as reference which does not exists anymore. Please recheck it.

0
Avatar
Opusti
Ali Khan
Avtor

Thanks ... But it does exist in the other view .. from which i'm inheriting this .. ??

Ali Khan
Avtor

@Nehal ... I don't understand my dear friend :)

Nehal

sna.sna_aor_c1_form where sna = module_name and sna_aor_c1_form is id of your view. For example: base.view_partner_bank_form where base is module name. This may be a case for getting this error.

Ali Khan
Avtor

yeah exactly that's the module name .. so where am doing mistake ??

Nehal

This is the only possibility for the error you encountered. Please check that the view with id "sna_aor_c1_form" is created or not. If not, upgrade the module which is having the id.

Avatar
Hiral Patel (hip)
Best Answer

sna module:

sna_view.xml:

<record model="ir.ui.view" id="sna_aor_c1_form">
    ...
    <field name="inherit_id" ref="sna.sna_aor_c1_form"/>
    ...
</record>

test module:(Module name you have written following code)

test_view.xml:

<record model="ir.ui.view" id="sna_orphan_form">
    ...
    <field name="inherit_id" ref="sna.sna_aor_c1_form"/>
    ...
</record>

Either add 'sna' in __openerp__.py file like : __openerp__.py:

'depends' : ['sna'],

Or install 'sna' module before 'test' module.

Hope it may help you.

0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
How to resolve Integrity Error in OpenERP?
python xml openerp
Avatar
Avatar
Avatar
Avatar
4
nov. 15
14684
How to hide view.xml fields group in Account module with attr
python xml
Avatar
Avatar
Avatar
2
dec. 23
13993
how to remove first empty element from fields.selection Solved
python xml
Avatar
Avatar
Avatar
3
jul. 22
24417
How to Date deduction with Python ?
python xml
Avatar
Avatar
2
jun. 21
19498
How to get data from a field python put to XML
python xml
Avatar
0
sep. 20
4406
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now