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

Odoo Server Error - Validation Error

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
ValidationErrorodoo12odooservererror
2 Cevaplar
8585 Görünümler
Avatar
Muhammad Imran

When i try to install custom module it says 

The operation cannot be completed:
- Create / update: a mandatory field is not set.
- Delete: another model requires the record being deleted. If possible, archive it instead.

Model: Warehouse (stock.warehouse), Field: Company (company_id)

my odoo version is 12.

Please help me how i can fix it with example.

Thanks

Muhammad Imran

0
Avatar
Vazgeç
Avatar
Muhammad Imran
Üretici En İyi Yanıt

Dear Sir i have not did anything i have not deleted any records i have not made any changes in it.

0
Avatar
Vazgeç
Niyas Raphy (Walnut Software Solutions)

Okay, as you have mentioned when installing custom module, it can be the issue with one who developed it right ? We cannot say all the custom modules are 100% working, there are modules with issues. Just make sure that the module is installed in correct version. Also check the first case am mentioned, regarding the mandatory fields. Or share the link of module here

Muhammad Imran
Üretici

When i have created it. That time it was working fine. suddenly it stop working and give me above mentioned error.

Muhammad Imran
Üretici

Sorry i can not share it with you because it is not live yet. it's on localhost.

Niyas Raphy (Walnut Software Solutions)

Then check the data files, there might be some data creating in the model stock.warehouse

Muhammad Imran
Üretici

Yes i am getting this error psycopg2.IntegrityError: null value in column "company_id" violates not-null constraint

DETAIL: Failing row contains (4, Your New barcode Company, t, null, 43, 44, 45, Your , one_step, ship_only, 46, 47, 48, 49, 16, 18, 19, 17, 16, 20, 13, 11, 12, 1, 2019-12-13 10:53:01.371073, 1, 2019-12-13 10:53:01.371073).

CONTEXT: SQL statement "UPDATE ONLY "public"."stock_warehouse" SET "company_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "company_id""

when i run odoo in pycharm. In which data file i have to check.

Niyas Raphy (Walnut Software Solutions)

You have to provide the value for company_id field. if you check the video you will understand the issue

Muhammad Imran
Üretici

Yes i have checked that video but i am confused where i have to provide the value for company_id field because in my created mode there is not any function to pass values like mentioned in video.

Niyas Raphy (Walnut Software Solutions)

The video is case of creating record from python code, in your case it is xml file

Avatar
Niyas Raphy (Walnut Software Solutions)
En İyi Yanıt

Hi,

If you are loading some data into the system from the data files, make sure that the values for all the required fields are given or not.

See here: How To Fix Mandatory Field is Not Correctly Set Error in Odoo

Or if you are deleting some records then that record might be referenced in some another tables, so you cannot delete it, unless you remove all the references first, which is not possible/good, instead of it, you can archive the record that you are trying to delete.

Thanks

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
Show validation error for phone number format on website page odoo 12
controllers odoo ValidationError odoo12
Avatar
Avatar
1
Kas 22
8481
How to raise error when unit amount is 0 in Expense Module Çözüldü
expenses ValidationError UserError odoo12
Avatar
Avatar
1
Nis 19
5530
unique mail message_id_res_partner Error when selecting products from the table in a Purchase Order
ValidationError
Avatar
Avatar
1
Kas 25
348
Validation Error Çözüldü
ValidationError
Avatar
Avatar
Avatar
Avatar
Avatar
4
Tem 25
6996
Odoo Mail Sending Limit Çözüldü
odoo12
Avatar
Avatar
Avatar
2
Ara 23
16663
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