Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Custom field not appearing in res.partner model when module is a sub-directory

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
invoicemodelsaccountsubmodules
1 Antworten
5000 Ansichten
Avatar
Izzat

I'm facing an issue with extending the res.partner model in Odoo. I want to create a custom field named in res.partner model as bank_tag and the custom field doesn't appear. Larger module neutrovis_localisation has two sub-module which is neutrovis_ar_ap and neutrovis_invoice_note as its sub-module. Sub-module neutrovis_ar_ap works finely.

Sub-module (neutrovis_invoice_note) of a larger module (neutrovis_localisation):

  • neutrovis_localisation/__init__.py: 
    from . import neutrovis_ar_ap  #neglect, another sub-directory under neutrovis_localisation
    from . import neutrovis_invoice_note 

  • neutrovis_localisation/__manifest__.py: 
    { 
     'name': "Neutrovis Localisation", 
     'author': "Neutrovis", 
     'website': "https://www.neutrovis.asia", 
     'category': 'Localization', 
     'version': '1.0', 
     'depends': ['base', 'neutrovis_contact','account'], 
     'data': [ 
     'neutrovis_ar_ap/security/accounting_access_rights.xml', #neglect, another sub-directory under neutrovis_localisation 
     ], 
     'installable': True }


  • neutrovis_invoice_note/models/__init__.py: 
    from . import account 

  • neutrovis_invoice_note/models/account.py: 
    from odoo import models, fields 
     class ResPartner(models.Model): 
     _inherit = 'res.partner' 
     bank_tagging = fields.Char(string="Bank Tagging")

I've checked the module dependencies and initialization order, and there doesn't seem to be any conflicts with other modules or data files. I've also tried uninstalling and reinstalling the neutrovis_localisation module, but the issue persists.

Does anyone have any ideas on what could be causing this issue and how to resolve it?

Thank you in advance for your help.


0
Avatar
Verwerfen
Avatar
shubham shiroya
Beste Antwort

you can check the following points:

  1. Make sure that your module is installed and upgraded: Ensure that you have installed and upgraded the neutrovis_invoice_note module after making changes to the code. You can do this by restarting the Odoo server and updating the module list.

  2. Check the module dependency order: Verify that the neutrovis_invoice_note module is installed after its dependencies (base, neutrovis_contact, and account) are installed. The order of installation can affect the inheritance and field addition process.

  3. Verify the module structure: Double-check the file structure of your module to ensure that the file paths and names are correct. Confirm that the __init__.py and __manifest__.py files are placed in the correct directories. Also, ensure that the file names and class names are spelled correctly.

  4. Check for any other modules modifying res.partner: Ensure that there are no other modules in your Odoo instance that modify the res.partner model and conflict with your changes. Check if any other modules have overridden the same field or view where you are trying to add the bank_tagging field.

  5. Verify the field definition: Review the account.py file in the neutrovis_invoice_note module to ensure that the field definition is correct. Make sure the field name (bank_tagging) and model inheritance (_inherit) match the parent model (res.partner). Also, confirm that the account.py file is being imported correctly in the __init__.py file.

After making any changes, remember to restart the Odoo server, upgrade the module, and clear the browser cache to ensure the changes are properly reflected.

0
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Where does invoice sequence number come from? Gelöst
invoice models account invoicing odoov12
Avatar
Avatar
2
März 19
5492
Error : ValidateError Error occurred while validating the field(s) company_id: Account and Period must belong to the same compa
invoice account
Avatar
Avatar
1
März 15
6977
How to extend Accounting module in openerp7 ?
invoice account
Avatar
Avatar
1
März 15
6168
Export accounting entry of payment with linked invoice sequence number
invoice account payment
Avatar
Avatar
1
Mai 25
1708
What is the xml id for the invoice creation form? Gelöst
invoice xml account
Avatar
Avatar
2
Apr. 24
2026
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Ausbildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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