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

Server error in trying anything in Accounting Module

Suscribirse

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

Se marcó esta pregunta
2 Respuestas
1863 Vistas
Avatar
Shiv Narayan

Installed Odoo 16 on Ubuntu 20.04 with external Accounting add on. All other modules work fine but I keep getting an error from any operation in the Accounting module (below is from trying to create a bill). New to Odoo and appreciate any help.


RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo16/odoo/http\.py",\ line\ 1584,\ in\ _serve_db
\ \ \ \ return\ service_model\.retrying\(self\._serve_ir_http,\ self\.env\)
\ \ File\ "/opt/odoo/odoo16/odoo/service/model\.py",\ line\ 133,\ in\ retrying
\ \ \ \ result\ =\ func\(\)
\ \ File\ "/opt/odoo/odoo16/odoo/http\.py",\ line\ 1611,\ in\ _serve_ir_http
\ \ \ \ response\ =\ self\.dispatcher\.dispatch\(rule\.endpoint,\ args\)
\ \ File\ "/opt/odoo/odoo16/odoo/http\.py",\ line\ 1815,\ in\ dispatch
\ \ \ \ result\ =\ self\.request\.registry\['ir\.http'\]\._dispatch\(endpoint\)
\ \ File\ "/opt/odoo/odoo16/odoo/addons/base/models/ir_http\.py",\ line\ 154,\ in\ _dispatch
\ \ \ \ result\ =\ endpoint\(\*\*request\.params\)
\ \ File\ "/opt/odoo/odoo16/odoo/http\.py",\ line\ 697,\ in\ route_wrapper
\ \ \ \ result\ =\ endpoint\(self,\ \*args,\ \*\*params_ok\)
\ \ File\ "/opt/odoo/odoo16/addons/web/controllers/dataset\.py",\ line\ 42,\ in\ call_kw
\ \ \ \ return\ self\._call_kw\(model,\ method,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/odoo16/addons/web/controllers/dataset\.py",\ line\ 33,\ in\ _call_kw
\ \ \ \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/odoo16/odoo/api\.py",\ line\ 461,\ in\ call_kw
\ \ \ \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/odoo16/odoo/api\.py",\ line\ 448,\ in\ _call_kw_multi
\ \ \ \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)
\ \ File\ "/opt/odoo/odoo16/addons/account/models/account_move\.py",\ line\ 2350,\ in\ onchange
\ \ \ \ return\ super\(\)\.onchange\(values,\ field_name,\ field_onchange\)
\ \ File\ "/opt/odoo/odoo16/odoo/models\.py",\ line\ 6502,\ in\ onchange
\ \ \ \ record\._onchange_eval\(name,\ field_onchange\[name\],\ result\)
\ \ File\ "/opt/odoo/odoo16/odoo/models\.py",\ line\ 6213,\ in\ _onchange_eval
\ \ \ \ method_res\ =\ method\(self\)
\ \ File\ "/opt/odoo/odoo16/addons/account/models/account_move\.py",\ line\ 1601,\ in\ _onchange_name_warning
\ \ \ \ if\ self\.name\ and\ self\.name\ !=\ '/'\ and\ self\.name\ <=\ \(self\.highest_name\ or\ ''\)\ and\ not\ self\.quick_edit_mode:
\ \ File\ "/opt/odoo/odoo16/odoo/fields\.py",\ line\ 1157,\ in\ __get__
\ \ \ \ self\.recompute\(record\)
\ \ File\ "/opt/odoo/odoo16/odoo/fields\.py",\ line\ 1365,\ in\ recompute
\ \ \ \ apply_except_missing\(self\.compute_value,\ recs\)
\ \ File\ "/opt/odoo/odoo16/odoo/fields\.py",\ line\ 1338,\ in\ apply_except_missing
\ \ \ \ func\(records\)
\ \ File\ "/opt/odoo/odoo16/odoo/fields\.py",\ line\ 1387,\ in\ compute_value
\ \ \ \ records\._compute_field_value\(self\)
\ \ File\ "/opt/odoo/odoo16/addons/mail/models/mail_thread\.py",\ line\ 403,\ in\ _compute_field_value
\ \ \ \ return\ super\(\)\._compute_field_value\(field\)
\ \ File\ "/opt/odoo/odoo16/odoo/models\.py",\ line\ 4203,\ in\ _compute_field_value
\ \ \ \ fields\.determine\(field\.compute,\ self\)
\ \ File\ "/opt/odoo/odoo16/odoo/fields\.py",\ line\ 97,\ in\ determine
\ \ \ \ return\ needle\(\*args\)
\ \ File\ "/opt/odoo/odoo16/addons/account/models/account_move\.py",\ line\ 695,\ in\ _compute_name
\ \ \ \ if\ move_has_name\ and\ move\.posted_before\ or\ not\ move_has_name\ and\ move\._get_last_sequence\(lock=False\):
\ \ File\ "/opt/odoo/odoo16/addons/account_sequence/models/sequence_mixin\.py",\ line\ 11,\ in\ _get_last_sequence
\ \ \ \ return\ super\(\)\._get_last_sequence\(relaxed,\ with_prefix,\ False\)
\ \ File\ "/opt/odoo/odoo16/addons/account/models/sequence_mixin\.py",\ line\ 207,\ in\ _get_last_sequence
\ \ \ \ self\.env\.cr\.execute\(query,\ param\)
\ \ File\ "/opt/odoo/odoo16/odoo/sql_db\.py",\ line\ 314,\ in\ execute
\ \ \ \ res\ =\ self\._obj\.execute\(query,\ params\)
psycopg2.errors.InvalidRegularExpression: invalid regular expression: quantifier operand invalid


The above server error caused the following client error:
null

0
Avatar
Descartar
Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

Hi,

Mostly the issue is coming from the third party app, because such an issue is not reported yet in odoo. You can do as follows:

* if the database is not relevant and if you are testing out things, create a new db and install only odoo modules

* see if everything works well


If yes, then the issue is from the third party app you have used. You can confirm the same and report it to the author of app with detailed steps to reproduce it in their own channel.

If you believe or confirm its a bug in odoo, you can report it here:  https://github.com/odoo/odoo/issues


Also make sure that you are using the updated/latest source code of odoo

Thanks

0
Avatar
Descartar
Avatar
Apple Mahmud
Mejor respuesta

To resolve this issue, you can try the following steps:

  1. Restart the Odoo server:

    sudo systemctl restart odoo
    

    Sometimes, restarting the server can resolve temporary issues.

  2. Check for any recent changes: Review any recent changes made to the Odoo installation, including modifications to the Accounting module or related configurations. If you made any changes recently, try reverting them to see if the error is resolved.

  3. Review customizations and third-party modules: If you have any customizations or third-party modules installed, they may be causing conflicts or using invalid regular expressions. Disable or remove any customizations or third-party modules related to the Accounting module and check if the error persists. You can disable them by renaming the respective module directories.

  4. Verify database integrity: Sometimes, database inconsistencies can cause such errors. You can verify the integrity of the database by running the following command:

    odoo-bin -d  --db-filter= --check-db
    

    Replace with the actual name of your Odoo database. If any issues are reported, follow the instructions provided to resolve them.

  5. Check Odoo logs: Examine the Odoo logs located at /var/log/odoo/ or the directory specified in your Odoo configuration file. Look for any relevant error messages or stack traces that provide more information about the cause of the error.


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

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

Inscribirse
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