İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

ParseError: "External ID not found in the system:

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
external_idodoo8
7 Cevaplar
81270 Görünümler
Avatar
Henry Lamorski

Hey,

i follow a odoo Moduldevelopment Tutorial, but on installation i go this error:

ParseError: "External ID not found in the system: daily_transaction.action_daily_transaction" while parsing /opt/odoo/custom/addons/daily_transaction/daily_transaction_view.xml:9, near <menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20"/>

 

why is that so?

Here is my daily_transaction_view.xml:

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Main Menu Related Info -->
<menuitem name="Daily Transaction" id="base.daily_transaction_root" sequence="60"/>
<!-- Sub Menu Related Info -->
<menuitem id="menu_daily_transaction_root" name="Daily Transaction" parent="base.daily_transaction_root" sequence="1" />
<!-- Action Menu Related info -->
<menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20"/>

<!-- Daily Transaction List View -->
<record id="view_daily_transaction_tree" model="ir.ui.view"> <!-- id is the external id for this tree view which must be unique and will be used for accessing this record -->
    <field name="name">daily.transaction.tree</field>
    <field name="model">daily.transaction</field>
    <field name="arch" type="xml">
        <!-- this will be our title of list/tree view -->
        <tree string="Daily Transaction">
            <!-- automatisches Mapping durch odoo -->
            <field name="name"/>
            <field name="date"/>
            <field name="type"/>
            <field name="amount"/>
        </tree>
    </field>
</record>

<!-- Daily Transaction Form View -->
<record id="view_daily_transaction_form" model="ir.ui.view">
    <field name="name">daily.transaction.form.view</field>
    <field name="model">daily.transaction</field>
    <field name="arch" type="xml">
        <!-- this will be our title of list/tree view -->
        <form string="Daily Transaction" version="7.0">
            <group>
                <field name="name"/>
                <field name="date" />
                <field name="type" />
                <field name="amount" />
                <field name="note" />
            </group>
        </form>
    </field>
</record>

<record id="action_daily_transaction" model="ir.actions.act_window">
    <field name="name">Daily Transaction</field> <!-- name of action -->
    <field name="res_model">daily.transaction</field> <!-- this action will be mapped to model-->
    <field name="view_type">form</field>
    <field name="view_mode">tree.form</field> <!-- these are type of view our module will show for our daily transaction mode -->
    <field name="search_view_id" eval="False"/> <!-- here we specily id of our search view -->
    <field name="context">{}</field>
    <field name="help">Create New daily transaction.</field> <!-- help text for our model -->
</record>
</data>
</openerp>

 

1
Avatar
Vazgeç
Avatar
Tien Nguyen
En İyi Yanıt

Dear 

Please try move 

<record id="action_daily_transaction" model="ir.actions.act_window"> ...
Go up
<menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20"/> ...
Because the content in *.xml run sequentially,
I think it will work.
1
Avatar
Vazgeç
Avatar
Lucio
En İyi Yanıt

Hi,

just change the order of the definitions. 
Put the menuitems at the bottom of the file (before  </data></openerp> though) and that will do it.

OpenERP or Odoo for that matter, parse the xml files in a bottom-down fashion and at the moment that you are declaring the menuitem with id=menu_action_daily_transaction the action does not exists, it is defined later on the same file.

Hope I made myself clear!

6
Avatar
Vazgeç
Mubaris ct

this answer worked for me . thank you

Avatar
Scott Weber
En İyi Yanıt

I had a similar issue when adding buttons to a header on a form view. Try declaring the report like this:   class="btn-info" name="%(report_id)d" type="action" string="Download Report".  If the report is in another module you need to declare the model also like this:  name="%(module_name.report_id)d"

0
Avatar
Vazgeç
Avatar
Adesh Paul
En İyi Yanıt

I was also getting this error.
I was creating another menu in my module, so I copy-paste the entire code.
But I forget to update the record id. After changing it, my code was executed.

0
Avatar
Vazgeç
Avatar
Tushar Donga
En İyi Yanıt

face same error in while creating a group for security i give id to my main menu like  groups="module_name.group_id"

but it still show the external id not found

0
Avatar
Vazgeç
Avatar
Toni Mas
En İyi Yanıt

The same error could appear if you call a undefined view in a view_id field.

0
Avatar
Vazgeç
Avatar
Ehtesham
En İyi Yanıt

Yes the order does matter, I had a similar issue I had to move definitions before/above before referring to them.

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

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

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Selecting items for one2many relation Çözüldü
odoo8
Avatar
Avatar
Avatar
2
Ara 22
15663
How to upload files automatically on attachments on button click ?
odoo8
Avatar
Avatar
1
Kas 21
5737
Field company_registry missing in partner table
odoo8
Avatar
0
Oca 21
2967
How i can find Product PopUp external ID?
external_id
Avatar
Avatar
Avatar
3
Tem 20
4550
How I disable Import Button for certain model in odoo8? Çözüldü
odoo8
Avatar
Avatar
Avatar
Avatar
Avatar
8
May 20
8700
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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