Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

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

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
migrationv17
1 Rispondi
3692 Visualizzazioni
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
Abbandona
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
Autore

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
Autore

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
Risposta migliore

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
Abbandona
Bruno Rocha
Autore

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.

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Issue with Access Rules for Attachments After Migrating to Odoo V17 Risolto
migration v17
Avatar
Avatar
Avatar
Avatar
3
mar 25
3500
Odoo Community 15 to 17 migration procedure ? Risolto
migration v15 v17
Avatar
Avatar
Avatar
Avatar
Avatar
5
giu 25
19519
Request for Support to Optimize Migration Process
migration v11.0 v17
Avatar
0
nov 24
1788
Activity filters migrating V14 to V17
migration activity v17
Avatar
Avatar
2
ago 24
2106
Migration error Odoo.sh Odoo 17
migration odoosh v17
Avatar
Avatar
1
mag 24
3570
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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