Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Unable to Unreconcile customer payment because of a KeyError

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
financev8customerpayment
1 Responder
7879 Vistas
Avatar
Janno Liivak

When I try to Unreconcile customer payment I get a following error:

>>>
2014-07-10 19:27:55,381 11652 ERROR mycompany openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/Users/janno_liivak/development/python/odoo/openerp/http.py", line 476, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/Users/janno_liivak/development/python/odoo/openerp/http.py", line 495, in dispatch
    result = self._call_function(**self.params)
  File "/Users/janno_liivak/development/python/odoo/openerp/http.py", line 311, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/openerp/http.py", line 308, in checked_call
    return self.endpoint(*a, **kw)
  File "/Users/janno_liivak/development/python/odoo/openerp/http.py", line 685, in __call__
    return self.method(*args, **kw)
  File "/Users/janno_liivak/development/python/odoo/openerp/http.py", line 360, in response_wrap
    response = f(*args, **kw)
  File "/Users/janno_liivak/development/python/odoo/addons/web/controllers/main.py", line 987, in call_button
    action = self._call_kw(model, method, args, {})
  File "/Users/janno_liivak/development/python/odoo/addons/web/controllers/main.py", line 975, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/addons/account_voucher/account_voucher.py", line 952, in cancel_voucher
    reconcile_pool.unlink(cr, uid, [line.reconcile_id.id])
  File "/Users/janno_liivak/development/python/odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/addons/account/account.py", line 1617, in unlink
    return super(account_move_reconcile, self).unlink(cr, uid, ids, context=context)
  File "/Users/janno_liivak/development/python/odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/openerp/models.py", line 3533, in unlink
    recs.recompute()
  File "/Users/janno_liivak/development/python/odoo/openerp/api.py", line 202, in wrapper
    return new_api(self, *args, **kwargs)
  File "/Users/janno_liivak/development/python/odoo/openerp/models.py", line 5449, in recompute
    f.name: rec[f.name] for f in field.computed_fields
  File "/Users/janno_liivak/development/python/odoo/openerp/models.py", line 5449, in <dictcomp>
    f.name: rec[f.name] for f in field.computed_fields
  File "/Users/janno_liivak/development/python/odoo/openerp/models.py", line 5330, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/Users/janno_liivak/development/python/odoo/openerp/fields.py", line 679, in __get__
    return record._cache[self]
  File "/Users/janno_liivak/development/python/odoo/openerp/models.py", line 5643, in __getitem__
    value = self._recs.env.cache[field][self._recs.id]
KeyError: 19
>>>

There's an old payment which invoice was credited (or reversed or Refunded ... whatever the term). New invoice was issued and old payment was like an advance payment an it was reconciled together with additional payment for the new (a little bigger amount of money). All was well and good but the date of a new payment was incorrect ... so now I will have to unreconcile the new payment and correct the date.

How to overcome the error? What causes it anyway?

2
Avatar
Descartar
Ivan

It seems to be a cache error in the server. Have you tried to restart the server?

Janno Liivak
Autor

Yes, I tried that. And it's definitly not connected to server cache ... well, not directly anyway.

Avatar
Yakito
Mejor respuesta

Hey, I don't know if this is remotely close to solve your problem, I will tell you what I did to solve mine after installing v8 and getting also a KeyError. I simpley reverted the translation to english (I had it in portuguese) and it works now for me. I am not sure why and now I am looking on how to get it back into portuguese without an error,  but there was something in that translaton that broke the Json. Hope it helps somehow.

0
Avatar
Descartar
Janno Liivak
Autor

Yes, that's it. I already figured this one out from some other forum post.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How to direct Advance Payment from the Odoo V 11
finance payment
Avatar
0
mar 18
3482
Best Practice: Record a Customer Payment from an Unknown Customer and still reconcile our Bank Statement in a timely mannner? Resuelto
customer payment unknown
Avatar
Avatar
1
jun 25
1069
Payment / Invoicing
invoice customer payment
Avatar
0
ene 25
1686
One payment received for multiple customers
customer multiple payment
Avatar
0
jun 22
3011
How can I do to prevent other customers from updating when I edit my Payment Information?
customer payment sale.order
Avatar
0
nov 17
3283
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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