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
    • Artificial Intelligence
    • 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ó
    • Property Management
    • 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
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

Problem with studio

Subscriure's

Get notified when there's activity on this post

This question has been flagged
studio
3 Respostes
2219 Vistes
Avatar
Gilbert Durand

I deleted an x_studio_machine field and now I get an error when trying to access studio.

the error is :

 File "/home/odoo/src/odoo/saas-17.1/odoo/addons/base/models/ir_ui_view.py", line 694, in _raise_view_error
    raise err from from_exception
ValueError: L'élément '' ne peut être localisé dans la vue parente

How can I solve this problem ?

Thank for your help.

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi Gilbert,

The error you are encountering could be due to a view that is based on a field that you deleted. To resolve this issue, you have a couple of options:

  1. Delete the error-causing view: You can go to Settings > Technical > Views in your Odoo instance and search for the view that is causing the error. Once you identify the problematic view, you can delete it. However, keep in mind that deleting the view might affect the functionality of your application, so make sure to review the consequences before taking this step.
  2. Customize the view architecture: Alternatively, you can customize the architecture of the view to remove the reference to the deleted field. This typically involves modifying the XML code of the view to remove or replace the references to the deleted field. You can access the XML view definition from the Odoo interface or through the file system if you're using custom modules.

Before making any changes, it's important to analyze the impact on your system and consider the implications for other views or modules that might be affected. Additionally, you may want to test any modifications in a development environment before applying them to your production environment to ensure they work as expected.


Hope it helps

0
Avatar
Descartar
Avatar
Gilbert Durand
Autor Best Answer

Hello


I try to create the field x_studio_machine but I have the error message :

The field "x_studio_machine" doesn't exist in the model "helpdesk.ticket"


Finally the solution was very simple :

it was just enough to destroy the view

0
Avatar
Descartar
Avatar
Altela
Best Answer

Hello Gilbert,

lets assume that you have this field "machine" before

After that, you delete it using the studio by clicking "Remove From View"

Now you are unable to access the studio because it could be other fields relying on that fields which is no longer exist. my suggestion is would be manually accessing debug mode and go to Settings > Views > Type in search bar "Studio" and see what view you are editing. from there, try to restore the deleted field back using xpath with this example :

 

   

 

im not really sure what view you are customizing, but the step should work the same way

Hope this helpful, best regards,

Altela (altelasoftware.com)


0
Avatar
Descartar
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
Custom popup Solved
studio
Avatar
Avatar
2
de març 26
907
Menu's with different default filter Solved
studio
Avatar
Avatar
1
de des. 25
3366
How to add or reorder columns in Studio Solved
studio
Avatar
Avatar
1
de des. 25
1506
Studio V18 Domain does not have current field
studio
Avatar
Avatar
1
de des. 25
1361
debit and credit in currency
studio
Avatar
Avatar
1
de nov. 25
3196
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 Svenska ภาษาไทย 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