Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

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

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

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

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
pythonxmlopenerp
2 Replies
5398 Rodiniai
Portretas
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
Portretas
Atmesti
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
Autorius

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

Portretas
Nehal
Best Answer

Hi,

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

0
Portretas
Atmesti
Ali Khan
Autorius

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

Ali Khan
Autorius

@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
Autorius

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.

Portretas
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
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

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

Registracija
Related Posts Replies Rodiniai Veikla
How to resolve Integrity Error in OpenERP?
python xml openerp
Portretas
Portretas
Portretas
Portretas
4
lapkr. 15
14686
How to hide view.xml fields group in Account module with attr
python xml
Portretas
Portretas
Portretas
2
gruod. 23
13995
how to remove first empty element from fields.selection Solved
python xml
Portretas
Portretas
Portretas
3
liep. 22
24421
How to Date deduction with Python ?
python xml
Portretas
Portretas
2
birž. 21
19500
How to get data from a field python put to XML
python xml
Portretas
0
rugs. 20
4408
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة 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 yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

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