Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Uninstallation Residues - Missing Existing Field

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
fieldsuninstallmissing
3 Respuestas
6841 Vistas
Avatar
Francisco Cano Marchal

I have a fully working custom module (running in Eclipse in Odoo Server Installation in Ubuntu). However, when installing it in a my working company server (Odoo 8 in Ubuntu Sever 14.04), I get the following error:

ParseError: "ValidateError

Field(s) `arch` failed against a constraint: Invalid view definition

Error details:

Field `x_tipocodigo` does not exist

Error context:

View `product.template form`

[view_id: 686, xml_id: n/a, model: product.template, parent_id: 258]" while parsing /opt/odoo/addons/dblaboratorio/dblaboratorio_view.xml:6, near

<record id="product_template_dblaboratorio" model="ir.ui.view">

I got this error message in the past, and fixed the problem (the field was not well defined in the python file inheriting product.template), but keep getting the message and can not install. I do not get this error in fresh server installations.

I have logged out, restarted openerp server, and tried to install in new database. However, this error persists.

I have looked for the view with id=686, and apparently it does not exist.

Any help ?

0
Avatar
Descartar
Jérémy Kersten (jke)

You need to check that view 258 (product.template.form) have field x_tipocodigo... You probably use this field to specify the position in the inherited template... View 686 is probably the view which are roolbacked due to the invalid view definition. Let us know...

Avatar
Francisco Cano Marchal
Autor Mejor respuesta

I believe the view is well defined, as confirmed by module running with no errors in my local server. If you still would like to check, the code is available at https://github.com/fcanomar/dblaboratorio

I have checked view 258 (product.template.product.form) and the field x_tipocodigo is not defined there. I am not sure if it should be. I have compared with this same view in the database where the module is running and they are equivalent. These new fields are present, though, in 'product.template form', but this view is not created when the error pops. 

I have also checked the versions of the module's dependencies in both servers and they are the same. 

Is there any data that stays after uninstalling ? I still feel the problem is related to having installed a faulty version of the module in the past. 

Any ideas ?

1
Avatar
Descartar
Jérémy Kersten (jke)

I have just installed your module, but like you specified without error/warning (except the dblaboratorio_calidadesmarca_action missing, and no security rule) Smalls remarks just for your information... x_ are usually used for custom field added directly via the backend. And when you inherit, you can just change the attributes without a replace with {}... About your database, without to have a copy from the db which failed (without private data... Need to have ir* tables) it will be not easy to help you... Sorry

Francisco Cano Marchal
Autor

Hello Jérémy, thank you for your comments. I will introduce the changes you have pointed. Can you contact me by email for database exchange ? My email is fcanomar@gmail.com

Avatar
Michael Thomas
Mejor respuesta

Open your dblaboratorio_view.xml file and in the product_template_dblaboratorio view record, there will be a reference to the Field "x_tipocodigo". Remove that field or correct the typo/issue and the module will load correctly. 

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Missing Field
error fields missing
Avatar
Avatar
1
mar 24
2359
How to display a red * for required fields
fields
Avatar
Avatar
Avatar
Avatar
3
may 25
3236
How to display a red * for required fields
fields
Avatar
Avatar
1
abr 25
2324
one2one relational field Resuelto
fields
Avatar
Avatar
Avatar
Avatar
3
sept 24
15970
How to uninstall a module from command line
uninstall
Avatar
Avatar
Avatar
Avatar
Avatar
12
nov 25
171607
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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