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 course community database gettingstarted
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo course community database gettingstarted
Acerca de este foro
  1. Getting Started
  2. Foro

Importing Invoice Lines ignores field 'Invoice lines / External ID'

Suscribirse

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

Se marcó esta pregunta
importInvoice_line
1 Responder
2704 Vistas
Avatar
Donal McNamee

I'm importing invoices and their associated line items from a third-party legacy system and as such, I'm using the External ID when importing the Invoice and the associated Invoice Line Item.

 

However, no matter how I approach it, Odoo keeps ignoring the External Id belonging to the Invoice Line Item.

This means that when I re-import the Invoice Line Item, Odoo duplicates instead of updating the existing Line Item entry.

 

The strange thing is that I don't have this issue at all when importing Purchase Orders and their associated line items.

 

My import steps are as follows:

(a) Import the Invoice with no line items associated with it. (See file: invoice.csv http://dl.archwayproducts.com/downloads/odoo/invoices.csv)

(b) Import the Invoices line items associating them with the Invoice created in step (a) above. (See file: invoice_line_items.csv http://dl.archwayproducts.com/downloads/odoo/invoice_items.csv) )

 

But the issue is that each time I import invoice_line_items.csv, it create a new line item instead of updating the existing one.

It's as if the Invoice lines / External ID field is ignored and Odoo generates its own External Id when creating the record instead.

 

Is there any reason why this would be? Especially seeing that the very same procedure works perfectly when importing Purchase Orders and their associated line items.


0
Avatar
Descartar
Avatar
Fady Noor Ilmi Lubis
Mejor respuesta

i've tried your file in demo.odoo.com and yes, the issue does exist. 

actually, Odoo does not create external ID for any data created in the system. so, in your case, Odoo treat your invoice line, just like when creating them by GUI (click Add a line). i haven't checked the code, but i think this issue is related to the usage of account.move.line model both in the invoice line and journal items.

but you can try to change the External ID of Invoice line in your file, into Database ID. i've tried this method and it works. to know the IDs, you have to show it in the invoice line tree view, though

hope it helps.

Fady Noor Ilmi

Arkana Solusi Digital, Indonesia


0
Avatar
Descartar
¿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
Issue with import and comma in Excel File (odoo 19)
import
Avatar
0
sept 25
234
Importacion de Atributos y Valores
import
Avatar
Avatar
Avatar
2
may 25
2250
Import from Winbooks Resuelto
import
Avatar
Avatar
Avatar
Avatar
Avatar
4
may 25
6610
can i import journal entries from Excel
import
Avatar
Avatar
1
ago 24
3405
Odoo 17 Studio
import
Avatar
Avatar
1
feb 24
3919
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