Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Inherited field is not exist Error

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
errorinheritancefieldodoov15
4 Replies
5480 Tampilan
Avatar
Selman Yilmaz

Hello,

First of all, everything  i make is working on my local computer but this error happen when i tried to update this module inside of a server.


I add some fieldsto res.company

class InheritAccountMove(models.Model):
_inherit = 'res.company'

tax_office = fields.Many2one('tax.office', string='Tax Office')
building_no = fields.Char(string='Building Number')
district_name = fields.Char(string='District/Town')
e_invoice_username = fields.Char(string="E-Invoice API Username")
e_invoice_password = fields.Char(string="E-Invoice API Password")
e_invoice_catalog = fields.Char(string="E-Invoice API Catalog")
e_invoice_isyeri = fields.Char(string="E-Invoice API Isyeri")
e_invoice_wsdl = fields.Char(string="E-Invoice API wsdl")


This is the XML looklike

id="view_company_form_inherit" model="ir.ui.view">
name="name">company.form
name="model">res.company
name="inherit_id" ref="base.view_company_form"/>
name="arch" type="xml">
expr="//field[@name='vat']" position="after">
name="tax_office"/>
name="building_no"/>
name="district_name"/>
name="e_invoice_username"/>
name="e_invoice_password"/>
name="e_invoice_catalog"/>
name="e_invoice_isyeri"/>
name="e_invoice_wsdl"/>


Its returning:

THERE IS NO FIELD "e_invoice_username" inside of res.company.

this fields starting with e_invoice is new ones. tax_office, building_no and district name was created 1 week ago and only with them it was working good.

Error started when i add this e_invoice fields.

I tried uninstall whole module and upload again but nothing changed.

I didn't understand why this is happening ?

Any idea for this problem ?


0
Avatar
Buang
Avatar
Waleed Ali Mohsen
Jawaban Terbai

The XML is working and found the fields but the fields not added to the DB so you need to restart Odoo service and then from apps -> update app lists (need to activate developer), because you are added some python code.

Important Note: If you have any changes in python code, you need to restart the Odoo service and update app lists.

0
Avatar
Buang
Avatar
Antonio Hermelinda
Jawaban Terbai

It looks like you are getting an error that says that there is no field e_invoice_username in the res.company model. This error is usually caused by one of the following issues:

  1. The field was not correctly defined in the Python code. Make sure that you have correctly defined the field in your InheritAccountMove model and that it has the correct name and type.

  2. The Python code has not been loaded by the Odoo server. Make sure that the module containing the Python code has been installed and that the server has been restarted after the installation.

  3. There is a problem with the XML definition of the field. Make sure that the field is correctly defined in the XML and that it is being inherited from the correct view.

  4. There is a problem with the database. If you made any changes to the database directly (e.g. through SQL commands), these changes may have caused the error. In this case, you may need to restore the database from a backup.


0
Avatar
Buang
Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Jawaban Terbai

There could be multiple reasons for the cause.

One of the common reasons could be this. Please make sure that the module is not added in multiple places like Odoo addons and in some other folders as well. 

If this is the case, remove the module from one of the places and use the latest one and try to upgrade it again.

0
Avatar
Buang
Avatar
Nugroho Widi
Jawaban Terbai

This is why I prefer to create or customize a model using Studio, to avoid issues like this. Fast simple and error free. After the model and views are working well we can continue the manual coding if needed.

-1
Avatar
Buang
Waleed Ali Mohsen

This can be done if your Odoo hosted in odoo.sh or on-promise but you can't do that if your hosted in Odoo Online.

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Error in opening Odoo Studio - ValueError: <xpath expr="..."> cannot be located in parent view Diselesaikan
error inheritance studio odoo
Avatar
Avatar
2
Mar 24
4146
Error Context - field does not exist Diselesaikan
error inheritance field context
Avatar
Avatar
Avatar
2
Jun 16
18917
How can i update One2many field on Create method ?
error one2many odoo v14 v15
Avatar
Avatar
Avatar
Avatar
3
Mei 23
4171
Barcode App Error Odoo v15 | You are expected to scan one or more products or a package available at the picking location Diselesaikan
error barcode odoo v15 barcodeapp
Avatar
Avatar
Avatar
Avatar
3
Mei 22
8109
Cannot start odoo service in Ubuntu. Diselesaikan
service installation error odoo v15
Avatar
Avatar
Avatar
3
Mar 22
15345
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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