Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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

Studio Import Export Error With Field From MRP

Suscribirse

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

Se marcó esta pregunta
errorexportimportstudio
2 Respuestas
3333 Vistas
Avatar
Daniel Buchsbaum

Hello,

I tried to export and import Odoo Studio Customizations, but got the following error message on import:

Error while importing module 'studio_customization'.

while parsing /tmp/tmpxjlz3xfe/studio_customization/data/ir_model_fields.xml:3, somewhere inside

[...]

Make sure those modules are installed and try again.


The error message suggests that the module has not been installed yet, but this is not the case: The field date_planned_start comes from the module mrp, which is already installed in the destination environment.

I also tried to remove the record from the customization.zip, but then the next record threw an error. The new error has a similar message and the field comes from an already installed Odoo module.


I hope someone can help. Thanks in advance.

PS: Unfortunately I cannot post the whole error message as some parts get interpreted by the editor as HTML even if I put it into a code block...


PPS: After manipulating several files from the customizations manually, the import worked. In my opinion, someone who uses Odoo Studio should not have to go into such detail as not everyone has the needed technical knowledge. The errors where not directly visible save in the odoo log:

ERROR: duplicate key value violates unique constraint "act_window_view_unique_mode_per_action" 
DETAIL: Key (act_window_id, view_mode)=(530, kanban) already exists.
    Properties of base fields cannot be altered in this manner!
0
Avatar
Descartar
Avatar
Daniel Buchsbaum
Autor Mejor respuesta

..



0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi Daniel,

The error you're encountering during the import of the Odoo Studio customizations is likely due to dependencies between the customized fields or models. When importing customizations, Odoo expects the referenced models and fields to be present in the target database before attempting to import the customizations.

Here are a few steps you can try to resolve the issue:

  1. Check for Dependency Modules: Ensure that all the modules containing the models and fields referenced in the customization are installed in the target database. Sometimes, a module might depend on another module that is not part of the standard Odoo installation.
  2. Check Module Installation Order: If all the required modules are installed, try uninstalling and reinstalling them in the correct order. The order of module installation can sometimes cause issues if dependencies are not properly resolved.
  3. Clear the Cache and Update the Module List: After installing or updating modules, clear the server cache and update the module list
  4. Check for Conflicting Customizations: Sometimes, customizations made in Odoo Studio can conflict with other customizations or modules. Review the customizations carefully to ensure there are no conflicts.
  5. Check for XML Syntax Errors: The error message suggests an issue while parsing the XML file. Inspect the ir_model_fields.xml file for any potential syntax errors or invalid characters.

Hope it helps



0
Avatar
Descartar
Daniel Buchsbaum
Autor

Hello Cybrosys Team,

thank you for your reply. I took another round of analyzing and debugging:

- Updated/installed all modules in the destination environment that have been installed in the source environment
- Updated module lists and emptied caches
- Re exported the customizations

Again to no avail.

A close look into the Odoo log gave me this error message:

> Properties of base fields cannot be altered in this manner!

Now this would definitely explain why my import doesn't work. This also begs the question why the import/export logic does not consider this from the get-go.

I will reply again as soon as I have tried to manually change the exported customizations.

Cheers

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

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
import/export records from own build studio app
export import studio
Avatar
1
ago 20
3726
Price Update
export import
Avatar
Avatar
2
nov 24
2304
Export/Import Issue: "Root articles must have internal permission" Resuelto
export import
Avatar
1
nov 24
3186
RPC_ERROR Arbitrary Uncaught Python Exception when trying Studio Export
python error export studio v15
Avatar
Avatar
1
feb 24
11101
Import exported CSV on module load
export import
Avatar
Avatar
1
oct 23
3914
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 estar 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