İç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 [object with reference: invoice_warn - invoice.warn]

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
validationinvite
2 Cevaplar
7995 Görünümler
Avatar
Abdelkarim Mateos

Fresh install of Odoo server 11, trought Github method.

I like invite some users.


Get first problem.


Odoo Server Error - Validation Error

The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: invoice_warn - invoice.warn]

https://dropbox.tamainut.net/owncloud/s/fBslBcaX4FWK8yj

0
Avatar
Vazgeç
Abdelkarim Mateos
Üretici

2018-07-03 06:32:57,126 29751 INFO ws_odoo odoo.modules.loading: 33 modules loaded in 0.07s, 0 queries

2018-07-03 06:32:57,359 29751 INFO ws_odoo odoo.modules.loading: Modules loaded.

2018-07-03 06:32:57,361 29751 DEBUG ws_odoo odoo.modules.registry: Multiprocess signaling check: [Registry - 7 -> 7] [Cache - 181 -> 181]

2018-07-03 06:32:57,362 29751 INFO ws_odoo odoo.addons.base.ir.ir_http: Generating routing map

2018-07-03 06:32:57,395 29751 DEBUG ws_odoo odoo.api: call res.users().web_dashboard_create_users(['foulki@protonmail.com'])

2018-07-03 06:32:57,478 29751 ERROR ws_odoo odoo.sql_db: bad query: b'INSERT INTO "res_partner" ("id", "lang", "partner_share", "color", "email", "type", "is_company", "supplier", "employee", "company_id", "customer", "active", "opt_out", "tz", "name", "message_bounce", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval(\'res_partner_id_seq\'), \'es_ES\', false, 0, \'foulki@protonmail.com\', \'contact\', false, false, false, 1, true, true, false, NULL, \'foulki\', 0, 1, 1, (now() at time zone \'UTC\'), (now() at time zone \'UTC\')) RETURNING id'

ERROR: null value in column "invoice_warn" violates not-null constraint

DETAIL: Failing row contains (72, foulki, 1, null, null, null, null, null, es_ES, null, null, null, null, null, null, null, t, t, f, f, null, contact, null, null, null, null, null, null, foulki@protonmail.com, null, null, f, null, 0, f, null, null, null, null, 1, 2018-07-03 06:32:57.39597, 1, 2018-07-03 06:32:57.39597, null, null, 0, f, null, null, null, null, null, null, null, null, null).

2018-07-03 06:32:57,479 29751 DEBUG ws_odoo odoo.service.model: IntegrityError

Traceback (most recent call last):

File "/opt/odoo/odoo/odoo/service/model.py", line 97, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/odoo/odoo/http.py", line 335, in checked_call

result = self.endpoint(*a, **kw)

File "/opt/odoo/odoo/odoo/http.py", line 936, in __call__

return self.method(*args, **kw)

File "/opt/odoo/odoo/odoo/http.py", line 515, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/odoo/addons/web/controllers/main.py", line 931, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo/odoo/addons/web/controllers/main.py", line 923, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/opt/odoo/odoo/odoo/api.py", line 687, in call_kw

return call_kw_model(method, model, args, kwargs)

File "/opt/odoo/odoo/odoo/api.py", line 672, in call_kw_model

result = method(recs, *args, **kwargs)

File "/opt/odoo/odoo/addons/web_settings_dashboard/models/res_users.py", line 23, in web_dashboard_create_users

user = self.with_context(signup_valid=True).create(default_values)

File "/opt/odoo/odoo/addons/sales_team/models/res_users.py", line 17, in create

user = super(ResUsers, self).create(vals)

File "/opt/odoo/odoo/addons/auth_signup/models/res_users.py", line 144, in create

user = super(ResUsers, self).create(values)

File "/opt/odoo/odoo/addons/mail/models/res_users.py", line 57, in create

user = super(Users, self).create(values)

File "/opt/odoo/odoo/odoo/addons/base/res/res_users.py", line 850, in create

user = super(UsersView, self).create(values)

File "/opt/odoo/odoo/odoo/addons/base/res/res_users.py", line 687, in create

return super(UsersImplied, self).create(values)

File "/opt/odoo/odoo/odoo/addons/base/res/res_users.py", line 335, in create

user = super(Users, self).create(vals)

File "/opt/odoo/odoo/odoo/models.py", line 3373, in create

record = self.browse(self._create(old_vals))

File "/opt/odoo/odoo/odoo/models.py", line 3430, in _create

parent_id = self.env[parent_model].create(parent_vals).id

File "/opt/odoo/odoo/odoo/addons/base/res/res_partner.py", line 534, in create

partner = super(Partner, self).create(vals)

File "/opt/odoo/odoo/addons/mail/models/mail_thread.py", line 236, in create

thread = super(MailThread, self).create(values)

File "/opt/odoo/odoo/odoo/models.py", line 3373, in create

record = self.browse(self._create(old_vals))

File "/opt/odoo/odoo/odoo/models.py", line 3466, in _create

cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))

File "/opt/odoo/odoo/odoo/sql_db.py", line 155, in wrapper

return f(self, *args, **kwargs)

File "/opt/odoo/odoo/odoo/sql_db.py", line 232, in execute

res = self._obj.execute(query, params)

psycopg2.IntegrityError: null value in column "invoice_warn" violates not-null constraint

DETAIL: Failing row contains (72, foulki, 1, null, null, null, null, null, es_ES, null, null, null, null, null, null, null, t, t, f, f, null, contact, null, null, null, null, null, null, foulki@protonmail.com, null, null, f, null, 0, f, null, null, null, null, 1, 2018-07-03 06:32:57.39597, 1, 2018-07-03 06:32:57.39597, null, null, 0, f, null, null, null, null, null, null, null, null, null).

2018-07-03 06:32:57,483 29751 INFO ws_odoo werkzeug: 79.150.116.102 - - [03/Jul/2018 06:32:57] "POST /web/dataset/call_kw/res.users/web_dashboard_create_users HTTP/1.1" 200 -

2018-07-03 06:32:57,522 29751 DEBUG ws_odoo odoo.modules.registry: Multiprocess signaling check: [Registry - 7 -> 7] [Cache - 181 -> 181]

2018-07-03 06:32:57,530 29751 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres

Avatar
En İyi Yanıt

Hi Abdelkarim,
'psycopg2.IntegrityError: null value in column "invoice_warn" violates not-null constraint'

This means you have already at least a record in the res.partner table in the database where the field invoice_warn is empty, and in the database it has a condition that it should be not empty.

Solution:

Query the database to get the record where this field is empty.

- Update the records and fill the field by directly querying the database.

Or

- If you do not care about the records, delete them.

Or remove the requirement on the field if you can accept it to be empty.

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
perform Validation before Save on when value entered
validation
Avatar
1
Şub 24
27
Before edit a record event
validation
Avatar
Avatar
Avatar
4
Eyl 15
5945
Invalid Operation Error
invite newuser
Avatar
Avatar
1
Şub 25
1942
Invalid Operation - Invite new user
mail invite
Avatar
Avatar
Avatar
Avatar
3
Kas 24
2081
Missing field string information for the field 'need_validation' from the 'task.budget' model Odoo16 Çözüldü
validation MissingError
Avatar
Avatar
2
Ağu 23
3788
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