Ir al contenido
Odoo Menú
  • Inicia sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de propiedades
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda
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

Error maximum recursion depth exceeded

Suscribirse

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

Se marcó esta pregunta
v7
2 Respuestas
12461 Vistas
Avatar
gennaooep

When I want save my record on my form I ve this error .maximum recursion depth exceeded

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3680, in _read_flat res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3597, in read self.check_access_rights(cr, user, 'read') File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3878, in check_access_rights return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, args) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 41, in lookup r = d[key] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, *args, *kwargs) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 38, in __getitem__ self[a[0]] = a[1] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, args, *kwargs) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 44, in __setitem__ del self[obj] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 37, in wrapper lock.release() File "C:\APPLI\Python27x86\lib\threading.py", line 151, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded

1
Avatar
Descartar
Sudhir Arya (ERP Harbor Consulting Services)

There can be many reasons which cause such error. One cannot predict what is wrong without looking at code. So you should post what kind of code you have done.

Avatar
Gustavo
Mejor respuesta

Looks like there is a problem with the PTFMedicaleRA module. It enters a recursive function and does not get out of it

1
Avatar
Descartar
Avatar
Martin
Mejor respuesta

I have formatted the traceback below to make it easier to recognize the repeated lines.

You need to examine your code and understand why it loops infinitely through these five lines :

  1. orm.py (399) -- read table
  2. orm.py (3604) -- read flat
  3. orm.py (3724) -- columns[f].get()
  4. fields.py (1131) -- execute anonymous function
  5. fields.py (1197) -- fnct_read value = value[field] or False

Line #5 apparently calls line #1, over and over again, without finding any reason to stop.

Are you certain that the variable f in line #3 is in fact being incremented (or decremented)? If neither, then you will know why your loop gets excremented.

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False 



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False 



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) 


File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3680, in _read_flat res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3597, in read self.check_access_rights(cr, user, 'read') 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3878, in check_access_rights return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, args) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 41, in lookup r = d[key] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, *args, *kwargs) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 38, in __getitem__ self[a[0]] = a[1] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, args, *kwargs) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 44, in __setitem__ del self[obj] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 37, in wrapper lock.release() 

File "C:\APPLI\Python27x86\lib\threading.py", line 151, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded
1
Avatar
Descartar
Lorenzo Cabrini

Ah, the beauty of reformatted and syntax-highlighted stacktraces...

Martin

. . . able to leap tall buildings in a single bound! More powerful than a locomotive . . . IT'S superreadable.

gennaooep
Autor

I made another model

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

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How to add a "Delete" button on the popup form? Resuelto
v7
Avatar
Avatar
1
oct 25
6989
Minimum Lot Charge For Sales Order Line Items
v7
Avatar
0
dic 24
11714
Record Rule to allow a User to update their own Employee object without belonging to Officer group Resuelto
v7
Avatar
Avatar
Avatar
Avatar
3
sept 24
24062
How to activate the Technical Features? Resuelto
v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
dic 24
56803
Way to only allow a specific DB to be the default? Resuelto
v7
Avatar
Avatar
Avatar
Avatar
Avatar
4
jul 24
12867
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 Svenska ภาษาไทย 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 estar totalmente integrado.

Sitio web hecho con

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