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

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
migrationv17
1 Respondre
3585 Vistes
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
Best Answer

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.

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
Issue with Access Rules for Attachments After Migrating to Odoo V17 Solved
migration v17
Avatar
Avatar
Avatar
Avatar
3
de març 25
3296
Odoo Community 15 to 17 migration procedure ? Solved
migration v15 v17
Avatar
Avatar
Avatar
Avatar
Avatar
5
de juny 25
18919
Request for Support to Optimize Migration Process
migration v11.0 v17
Avatar
0
de nov. 24
1688
Activity filters migrating V14 to V17
migration activity v17
Avatar
Avatar
2
d’ag. 24
1952
Migration error Odoo.sh Odoo 17
migration odoosh v17
Avatar
Avatar
1
de maig 24
3431
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