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

[v15 -> v16 Openupgrade] res_partner_views: Inherited view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition

Iscriviti

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

La domanda è stata contrassegnata
6 Risposte
3565 Visualizzazioni
Avatar
Bruno gomez

hello,

First of all, thank you for helping the community and I hope you can help me. (I'm quite new, although I'm still studying)
I have been using Odoo in my business for almost two years with a version 14 community and some OCA module, which has worked correctly for me.
I have decided to update version 14 to 17, for which I have been able to update to version 15 and now I am updating to 16, always using OCA openupgrade.

My problem is that when migrating the database from v15 to v16 using the openupgrade-v16 script it shows me the following error:

2024-03-09 17:43:06,201 31738 DEBUG odoopsitec 
odoo.tools.convert: while parsing 
/opt/odoo/odoo/addons/product/views/res_partner_views.xml:3
La vista heredada no puede tener 'grupos' definidos en el registro. Use los atributos de 'grupos' dentro de la definición de la vista

I have reviewed the res_partner_views.xml file and its content is as follows: 

 
        res.partner.product.property.form.inherit
        res.partner
        
        
            
                
                

Pricelists are managed on

I have made different modifications to this file without success. I have searched on Google and although I have not found much information, I have been able to investigate a possible solution, which has not worked for me and I always have this message in the migration.

Could you guide me?
Thank you so much


0
Avatar
Abbandona
Bruno gomez
Autore

Good afternoon Cybrosys,

I appreciate your response, but it doesn't solve anything. It tells me some links to do the migration, when I am already doing the database migration and in the process I encounter an error.

I have already browsed Google and carried out dozens of tests, I am trying to find a solution to my specific problem.

I do not have custom modules or custom fields in the tables, so I do not understand why it shows me a view error and there are no instructions on how to correct it.

What would have to be done to correct the inherited view group?

Thank you very much in advance.
All the best

Avatar
kasra hosseinpourshad
Risposta migliore

could you solve it?? 

I faced SIMILAR ERROR WHILE I WAS TRYING TO UPGRADE MY PROJECT MODULE

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/https://dnsp2.noorano.net/web/assets/2cccd8d/web.assets_web_dark.min.js:2888:13)

0
Avatar
Abbandona
Avatar
Lansana Barry Sow
Risposta migliore

Greetings,


I had the same error, but in the end I checked and saw that it was wrong with the versions of the modules commits. You have to update all the commits of all the modules including the Openupgrade to the latest commit of the repository.


Another thing I also realized is to work with a recent database without error, not with a database with a migration in the middle that gave an error.


I hope these tips can be helpful to you.

0
Avatar
Abbandona
Avatar
German
Risposta migliore

Hi Bruno,

Did you find the solution?

0
Avatar
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore

Hi,

Please refer the below forum answer

https://www.odoo.com/sk_SK/forum/pomoc-1/odoo-15-to-odoo-16-migration-using-openupgrade-213907


Hope it helps


0
Avatar
Abbandona
Avatar
Bruno gomez
Autore Risposta migliore

Good morning Alex,


Thank you very much for your response, what you mentioned is what indicates the error, I searched Google yesterday and found similar cases that indicated that change.


but how can I solve it?

but I have not changed the view and I have not made groups either.


This is the complete error

odoo.tools.convert.ParseError: while parsing /opt/odoo/odoo/addons/product/views/res_partner_views.xml:3
La vista heredada no puede tener 'grupos' definidos en el registro. Use los atributos de 'grupos' dentro de la definición de la vista

View error context:
'-no context-'


I have not modified the xml file res_partnet_views.xml, it is the original

greetings

0
Avatar
Abbandona
Nur Mubin

Hi Bruno, have you solved this issue? I got the same issue also when i try to upgrade from v15 to v17. It would be nice if you can share your experience related to this issue.

Thanks

Bruno gomez
Autore

Good Nur,

If I could solve it and learn why it was happening, it was soooo simple. But certainly not thanks to the "odoo community", who on all occasions have dedicated themselves to repeating to me what the error said without further guidance.

So, I contacted a professional dedicated to odoo and I solved it.
Of course, what we have learned is that you should not depend on the odoo community and you must have professional support to have odoo and with this, it is best not to use the community and make use of the licensing system that already gives you support and upgrades. If not, it will be much more expensive.

I speak from my experience, each person finds their way.

All the best

Stéphan Sainléger

Hi Bruno!
I am encountering exactly the same issue on a migration from 15.0 to 16.0, and I feel the same frustration not finding any clue about the way to resolve it.
Would you mind sharing how you did solve this? It would be very helpful and improve the Odoo community capacity to assist each other :-)
Thanks
Best regards

Bruno gomez
Autore

good morning stephan,

The important thing is to check which views have the group problem, as indicated by the error. To do this, in debug mode, go to the technical menu in settings and to the views option.

There create a custom filter that is "Groups" + "is established" and review these views, which are the ones that generate this error in the migration.

It worked for me to eliminate these views to be able to go from v14 to v15. In your case, review and try solutions.

If you can do it, it's ok, if not, I can give you the contact of a certified Odoo technician who helped me a lot.

Community: this is a helpful answer, what you do is translate and Google already does that.

All the best

Avatar
Alex Hathaway
Risposta migliore

As of version 16 groups cannot be defined in inheritance view. You will need to push the groups restriction down to the field or make it a base view

0
Avatar
Abbandona
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
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