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

Why odoo want to delete some items when update all module ?

Suscribirse

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

Se marcó esta pregunta
updateodooV8
10 Respuestas
9433 Vistas
Avatar
Guillaume Seran

Hello,

I have import new accounting account in odoo with csv file.

Now when I do the command to update odoo ( ./openerp-server -c odoo-server.conf -d database -u all ),
odoo wants to delete these new accounts.

log line :

2015-09-24 09:47:02,833 6929 INFO database openerp.addons.base.ir.ir_model: Deleting 3787@account.account (account.account_401GE0atdc)

Why it do this ? And of course the update crash when it want to delete a non-empty account!

1
Avatar
Descartar
Avatar
Guillaume Seran
Autor Mejor respuesta

Thank you Temur for your answers !!!

I found something interesting with the "external_id" used in my csv import file!

I wrote this in external_id : account.account_401GE0atdc
No error in import but delete the record if i do an update.


Now if in external_id I wrote account_401GE0atdc or account_account_401GE0atdc or __export__.account_401GE0atdc
No error in import and it not try to delete records when I do update




4
Avatar
Descartar
Elymar Alfaro

Thank you. I was having the same issue until I read this. Helped me a lotttt!!!!!!

Avatar
Temur
Mejor respuesta

AFAIK for now that is an expected behavior. Update will delede/discard all customized stuff. you can safely update only if you're using original settings. Changes made from developer mode, custom fields, view customization, etc.. will be discarded. Simply it works this way now, I don't know if it'l be changed in the future. So, if you add custom fields from developer mode, customize views from developer mode, and after many more customization changes, you can't update involved modules anymore, or you loose these customizations.

2
Avatar
Descartar
Temur

NOTE: if you customize at code & XML level, then such customizations will be preserved and not deleted...

Guillaume Seran
Autor

Thank you for your answer ! So if i import products from a csv file and I want to update Odoo later; odoo will delete these products ?? It's crazy!

Temur

No, that's NOT a case, Odoo will not delete your products. it's a different case...

Temur

Ok, I'll try to explain it otherwise: Odoo will reset some customized stuff BUT any normal records and data will be preserved...

Guillaume Seran
Autor

But when I import my new accounting accounts in odoo it's just data too! As if I import products

Temur

by adding accounts you're setting up Chart Of Accounts, it's a setting, not a normal data... normal data there is journal entries/Journal Items, that are stored inside of accounts... these journal entries/items will not be touched by update...

Temur

When you installed accounting, you should be asked to choose "Accounting Package", what were your choice at that point?

Temur

Default value for "Accounting Package" is "Custom", I've leaved it unchanged, then I customized chart of accounts, that's how I've installed accounting... Now I'm tried to update and no any account were deleted... It means normally accounts are not deleted by update process. if you've chosen other thing then "Custom" for "Accounting Package" configuration, then it installs additionally some "l10n_*" module, it's quite possible that deletion is initiated from that additional module. So, most probably problem is in your local configuration in this case. I updated odoo successfully with the exactly same command as you posted.

¿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
How to start server with --update all
update odooV8
Avatar
Avatar
1
ene 16
7023
Developing new modules, KeyError: 'stock.picking' return self.models[model_name] Resuelto
module update odooV8
Avatar
Avatar
1
ene 25
24304
updating module from command line error
update postgresql9.2 odooV8
Avatar
Avatar
1
may 21
6291
Odoo v8 still good for use?
update odooV8 odoo9.0
Avatar
Avatar
Avatar
Avatar
5
ene 17
5062
Best repository for Odoo v8 and efficient way for update
update repository odooV8
Avatar
Avatar
Avatar
3
jul 15
4715
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