Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Problem registering a payment

Subscriure's

Get notified when there's activity on this post

This question has been flagged
paymententries
2 Respostes
3054 Vistes
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
Descartar
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
Autor Best Answer

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
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Customer Payments in Version 12
paymententries v12
Avatar
Avatar
1
de juny 21
1861
Where can i mention check number while entering the payment entries and bankstatements in openerp-7?
checknumber paymententries
Avatar
0
de març 15
3871
Auto generated journal base on customer/supplier payment
payment paymententries payment automation
Avatar
0
d’abr. 17
1554
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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