Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
migrationv17
1 Répondre
3688 Vues
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
Ignorer
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
Auteur

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
Auteur

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
Meilleure réponse

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
Ignorer
Bruno Rocha
Auteur

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.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Issue with Access Rules for Attachments After Migrating to Odoo V17 Résolu
migration v17
Avatar
Avatar
Avatar
Avatar
3
mars 25
3492
Odoo Community 15 to 17 migration procedure ? Résolu
migration v15 v17
Avatar
Avatar
Avatar
Avatar
Avatar
5
juin 25
19502
Request for Support to Optimize Migration Process
migration v11.0 v17
Avatar
0
nov. 24
1786
Activity filters migrating V14 to V17
migration activity v17
Avatar
Avatar
2
août 24
2105
Migration error Odoo.sh Odoo 17
migration odoosh v17
Avatar
Avatar
1
mai 24
3570
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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