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

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
9430 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.

Registrarse
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
24302
updating module from command line error
update postgresql9.2 odooV8
Avatar
Avatar
1
may 21
6289
Odoo v8 still good for use?
update odooV8 odoo9.0
Avatar
Avatar
Avatar
Avatar
5
ene 17
5061
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 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