Ir al contenido
Odoo Menú
  • Iniciar 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 bienes inmuebles
    • 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

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • 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

Migration error in Settings value res.config.settings.chart_template: 's'

Suscribirse

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

Se marcó esta pregunta
migrationv17
1 Responder
3682 Vistas
Avatar
Bruno Rocha

Hello Comunity,

After odoo migration I got this issue enter settings. Does anyone have a clue how to fix this?


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/http.py", line 1783, in _serve_db

return service_model.retrying(self._serve_ir_http, self.env)

File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying

result = func()

File "/home/odoo/src/odoo/odoo/http.py", line 1810, in _serve_ir_http

response = self.dispatcher.dispatch(rule.endpoint, args)

File "/home/odoo/src/odoo/odoo/http.py", line 2014, in dispatch

result = self.request.registry['ir.http']._dispatch(endpoint)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch

result = endpoint(**request.params)

File "/home/odoo/src/odoo/odoo/http.py", line 759, in route_wrapper

result = endpoint(self, *args, **params_ok)

File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 24, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw

result = _call_kw_multi(method, model, args, kwargs)

File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi

result = method(recs, *args, **kwargs)

File "/home/odoo/src/odoo/addons/web/models/models.py", line 1034, in onchange

record._update_cache(changed_values)

File "/home/odoo/src/odoo/odoo/models.py", line 6021, in _update_cache

value = field.convert_to_cache(value, self, validate)

File "/home/odoo/src/odoo/odoo/fields.py", line 2838, in convert_to_cache

raise ValueError("Wrong value for %s: %r" % (self, value))

ValueError: Wrong value for res.config.settings.chart_template: 's'


The above server error caused the following client error:

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

Error: An error occured in the owl lifecycle (see this Error's "cause" property)

at handleError (https://XXX-15255165.dev.odoo.com/web/assets/d413a17/web.assets_web.min.js:916:101)

at App.handleError (https://XXX15255165.dev.odoo.com/web/assets/d413a17/web.assets_web.min.js:1545:29)

at ComponentNode.initiateRender (https://XXX-15255165.dev.odoo.com/web/assets/d413a17/web.assets_web.min.js:1006:19)

Caused by: RPC_ERROR: Odoo Server Error

RPC_ERROR

at makeErrorFromResponse (https://XXX-15255165.dev.odoo.com/web/assets/d413a17/web.assets_web.min.js:2888:163)

at XMLHttpRequest. (https://xxx-15255165.dev.odoo.com/web/assets/d413a17/web.assets_web.min.js:2892:13)

4
Avatar
Descartar
Aslam Up

Dear Bruno Rocha,

Did you able to solve the above issue ? We are also facing the same issue now.

And could you please provide an update on the Open Upgrade v17 script?. Is it ready or not yet ready ?

Bruno Rocha
Autor

Hello Aslam Up,
We inicialy asked for help in Odoo support, and you can do it also.
My feedback they where fast fixing the issue, but I think they only fixed this one project, and not the migration script.
If you are confortable you can also fix the field by yourself directly in the SQL, that was what we did on the other migrations.

Aslam Up

Thank you for your response Bruno Rocha. Since we are migrating a Community Edition database, we are unable to seek support from Odoo. Instead, we are using the Open Upgrade tool (by OCA).

We are encountering the same error, as the field in V16 is a Many2one field, while in V17, it has been changed to a Selection field.

Bruno Rocha
Autor

Hello Aslam UP,

I´m not familiar with the OCA migration tool, but if possible I would test after the migration script if can be fixed or open a Issue in OCA

Avatar
Paresh Wagh
Mejor respuesta

Hi Bruno: This is a bit tricky. It looks like the value of the fiscal localization associated with the company has got messed up. You can check the value by exporting the Company Name and Chart Template fields from the Companies list view, if you are able to access it.

If you are migrating an Enterprise Edition database, the best thing might be to log a support ticket with the Odoo upgrade team and have them fix it.

2
Avatar
Descartar
Bruno Rocha
Autor

Hello Paresh,
Nice advice.
Yes, I have check and the fiscal localization got scambled on migration.
In V16 is a many2one field and on v17 is a selection, somewhere during migration script it got scambled, because 's' is not one of the available options.

¿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
Issue with Access Rules for Attachments After Migrating to Odoo V17 Resuelto
migration v17
Avatar
Avatar
Avatar
Avatar
3
mar 25
3483
Odoo Community 15 to 17 migration procedure ? Resuelto
migration v15 v17
Avatar
Avatar
Avatar
Avatar
Avatar
5
jun 25
19482
Request for Support to Optimize Migration Process
migration v11.0 v17
Avatar
0
nov 24
1784
Activity filters migrating V14 to V17
migration activity v17
Avatar
Avatar
2
ago 24
2104
Migration error Odoo.sh Odoo 17
migration odoosh v17
Avatar
Avatar
1
may 24
3567
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 ภาษาไทย 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