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

Problem registering a payment

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
paymententries
2 Cevaplar
3061 Görünümler
Avatar
Thomas Halbeck

Hi

I am using Odoo 11 Community and until today everything was working also on this issue. Registering a payment for customers or vendors was always working. But today I suddenly started receiving an error message which I have no idea how to interprete. Perhaps someone can take a look at it and tell me what's going wrong and perhaps even know how to fix it.

The error message is as follows:

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 647, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 689, in dispatch
    result = self._call_function(**self.params)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/web/controllers/main.py", line 934, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/web/controllers/main.py", line 922, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_payment.py", line 523, in action_validate_invoice_payment
    return self.post()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_payment.py", line 498, in post
    move = rec._create_payment_entry(amount)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_payment.py", line 592, in _create_payment_entry
    self.invoice_ids.register_payment(counterpart_aml)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_invoice.py", line 904, in register_payment
    return (line_to_reconcile + payment_line).reconcile(writeoff_acc_id, writeoff_journal_id)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 1020, in reconcile
    remaining_moves = self.auto_reconcile_lines()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 990, in auto_reconcile_lines
    return self.auto_reconcile_lines()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 986, in auto_reconcile_lines
    'currency_id': currency,
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 1819, in create
    res = super(AccountPartialReconcile, self).create(vals)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 3278, in create
    record = self.browse(self._create(old_vals))
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 3435, in _create
    self.recompute()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 4811, in recompute
    target._write(dict(vals))
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_invoice.py", line 479, in _write
    (reconciled & pre_reconciled).filtered(lambda invoice: invoice.state == 'open').action_invoice_paid()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/sale/models/account_invoice.py", line 45, in action_invoice_paid
    res = super(AccountInvoice, self).action_invoice_paid()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_invoice.py", line 787, in action_invoice_paid
    return to_pay_invoices.write({'state': 'paid'})
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/purchase/models/account_invoice.py", line 219, in write
    result = result and super(AccountInvoice, invoice).write(vals)
  File "/opt/bitnami/apps/odoo/data/addons/11.0/customer_account_followup/account_invoice.py", line 16, in write
    receivable_line.blocked = True
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/fields.py", line 955, in __set__
    record.ensure_one()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 4267, in ensure_one
    raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: account.move.line(918, 917)

Any help would be greatly appreciated.

0
Avatar
Vazgeç
Niyas Raphy (Walnut Software Solutions)

Have you installed any custom module today ? or made any changes in the odoo core code today.If you have installed any custom code, uninstall those and try the same(you can get a duplicate db and check the above)

Avatar
Thomas Halbeck
Üretici En İyi Yanıt

Hi Niyas,

thank you for your reply.

No I haven't installed any other modules or changed the core in anyway.

But I am not sure if something else may have caused this problem.

The sales order was first confirmed to a different product. My mistake. I wanted to delete that product and confirm the correct product. The deletion did not work. So I set that product to zero and added the other product and confirmed it again.

So far so good. I was able to print the delivery note and invoice. The complete order was still showing the wrong product in one line and the correct product with correct status in a second line.

Again I tried to delete the wrong product from the sales order which did not work. Therefore I just leave it as is.

Now the payment arrived for the correctly printed invoice and I wanted to register the payment. And then I received the error message.

Today I registered payments for my vendor and that worked. Therefore I assume it has something to do alone with this record.

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
Customer Payments in Version 12
paymententries v12
Avatar
Avatar
1
Haz 21
1862
Where can i mention check number while entering the payment entries and bankstatements in openerp-7?
checknumber paymententries
Avatar
0
Mar 15
3873
Auto generated journal base on customer/supplier payment
payment paymententries payment automation
Avatar
0
Nis 17
1554
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