İç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

Importing Contacts Error: Odoo Server Error Invalid field name 'in_group_21'

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
1 Cevapla
1809 Görünümler
Avatar
azmrfixit@gmail.com

Hello, I am trying to import contacts into accounting. When importing I get to one Odoo field for address and keep getting this error. I have tried multiple address fields and am getting the same error. Data is being imported from Quick Books and I am wondering if there's a formatting issue with the data. However, I have no way to know if it's the data. Any assistance is greatly appreciated

I am very disgruntled that I apparently don't have enough "karma" points to post a screenshot of my issue. I sure hope someone understands and can assist without my screenshot

0
Avatar
Vazgeç
Avatar
Gracious Joseph
En İyi Yanıt

The error "Odoo Server Error Invalid field name 'in_group_21'" when importing contacts typically occurs because the import file references a field or group that does not exist in the Odoo database, or the mapping between your data and Odoo's fields is incorrect. This could also be due to mismatched field names or metadata from QuickBooks that doesn't align with Odoo.

Here’s how you can troubleshoot and resolve the issue:

1. Understand the Error

  • in_group_21: This indicates a field that likely corresponds to a group or permissions in Odoo but does not exist or is not properly mapped in your Odoo instance.
  • The issue may arise due to:
    • Metadata exported from QuickBooks being included in your import file.
    • Incorrect mapping of fields during import.
    • Trying to import a group or permission that doesn't exist in your Odoo configuration.

2. Steps to Resolve the Issue

A. Check Your Import File

  1. Review Column Headers:
    • Open your import file (CSV or Excel).
    • Look for a column named in_group_21 or similar.
    • Remove or rename any fields that are not part of the standard Odoo fields for the res.partner model (Contacts).
  2. Clean Metadata from QuickBooks:
    • QuickBooks might include additional metadata during export (e.g., permissions or settings). Review and remove unnecessary columns that are irrelevant to Odoo.
  3. Match Field Names with Odoo:
    • Navigate to Contacts > Configuration > Import Contacts.
    • Download the sample import file from Odoo for reference.
    • Compare your file's columns with the sample file to ensure the field names match Odoo's requirements.

B. Check Field Mapping in Odoo

  1. Preview the Import:
    • Go to Contacts > Import and upload your file.
    • Odoo will display a preview of the import data and allow you to map fields.
    • Check if in_group_21 appears in the preview. If it does:
      • Map it to a valid Odoo field, or leave it unmapped.
  2. Validate Fields:
    • Ensure each column in your import file maps to an existing field in the res.partner model.
    • Remove any unnecessary columns from the import file.

C. Debug the Error

If the issue persists, use the following steps to debug:

  1. Enable Developer Mode:
    • Go to Settings > Activate Developer Mode.
  2. Inspect the in_group_21 Field:
    • Navigate to Settings > Technical > Database Structure > Fields.
    • Search for in_group_21. If the field doesn’t exist, it confirms that the field is invalid.
  3. Inspect Your Model:
    • Check the res.partner model for any custom fields added by third-party modules.
    • If a custom module added this field and it’s no longer available, remove references to it in your import file.

D. Test a Minimal Import

  1. Prepare a Small Test File:
    • Create a simplified import file with just the essential fields (e.g., Name, Email, Phone, Address).
    • Example:
      Name,Email,Phone,Street,City,Country
      John Doe,john@example.com,123456789,123 Street,New York,USA
      
  2. Import the Test File:
    • If this file imports successfully, gradually add columns from your original file to identify the problematic field.

E. Look for Customizations or Permissions Issues

  1. Check User Permissions:
    • If the in_group_21 field references a user group, verify that the user performing the import has the necessary permissions.
    • Navigate to Settings > Users & Companies > Users and check the access rights for the user.
  2. Review Installed Modules:
    • If you have custom modules installed, they may have added or removed fields incorrectly. Disable the modules temporarily and retry the import.

3. Common Issues and Fixes

Issue Cause Fix
Invalid Field Name in_group_21 Field doesn’t exist in Odoo or is incorrectly referenced. Remove the column or map it to a valid field.
Metadata from QuickBooks QuickBooks exports extra columns with irrelevant metadata. Clean the import file and remove unnecessary columns.
User Access Rights The user importing data lacks permissions for some fields or groups. Assign the necessary permissions to the user.
Missing Required Fields Fields like Name, Email, or Phone are missing. Ensure all required fields are present in the import file.

4. Final Validation

  1. Import Validation:
    • After resolving the issue, run the import with a test file and verify the results.
    • Check that all data is correctly imported and appears in the Contacts module.
  2. Check Logs:
    • If the error persists, check the server logs for detailed error messages:
      • Navigate to Settings > Technical > Logs > Server Logs.

Let me know if you need further assistance, and I can guide you through debugging the issue!

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