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

How to check "Show fields of relation fields (advanced)" on the import page?

Suscribirse

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

Se marcó esta pregunta
importfieldcheckadvancedexternal_id
14 Respuestas
13965 Vistas
Avatar
Pascal Tremblay

Hello all,

I'm with Odoo 10 community.

I need the external_id column when importing product. Because I want to reimport many times the same products.

So, I want to check the "Show fields of relation fields (advanced)" option on the import page. But I can't check the box. Even with admin in debug mode.

How could I check this box?




Edit #1

In the code of /home/odoo-10/odoo-10.0/addons/base_import/static/src/xml/base_import.xml, the box is defined like this :

<input type="checkbox" class="oe_import_advanced_mode" disabled="disabled"
                       id="oe_import_advanced_mode"/>

Why disabled????


EDIT #2

No trace of 'oe_import_advanced_mode' in the odoo 10 enterprise code... ??? What is this? I don't understand!


EDIT #3

I have tried removing the "disabled="disabled"" in the code and updating the module base_import. But when I check the box, it comes back disabled as soon.



4
Avatar
Descartar
Sprintit Oy / Roy Nurmi

I am having the same problem. In my local development version it works, probably a bit different version?

Pascal Tremblay
Autor

My importation was right finally. If your fields are well declared in the header of your csv/excel file, odoo will recognize them (even if they are many2one and other relationnal fields). After two or 3 importation tests, all my header was correctly set. But the checkbox was always disabled. Never manage to enable this checkbox. But you can import anything without this checkbox.

Avatar
Santiago Rubio
Mejor respuesta

I reccomend to copy the files that you have to modify.

First of all you, on the base_import.xml file find a line like:

<input type="checkbox" class="oe_import_advanced_mode" disabled="disabled" id="oe_import_advanced_mode"/>


Modify the line to:

<input type="checkbox" class="oe_import_advanced_mode" id="oe_import_advanced_mode"/>


After that, you have to modify the base_import.js file (which is located on /YourOdoo/addons/base_import/static/src/js/). On that file, search "oe_import_advanced_mode" (without the " ")  since you find a line like this:

this.$('input.oe_import_advanced_mode').prop('checked', result.advanced_mode);

On that line just change the 'checked' value to 'unchecked'.

1
Avatar
Descartar
Xavier Brochard

Don't do that. Just put a slash "/" in a header (you way want to add fields name but it works without). No need to add datas in the column.

Avatar
Sprintit Oy / Roy Nurmi
Mejor respuesta

I forgot this when the problem disappeared, but now we stuck with this issue in another environment, running recent version of Odoo 10.0. Our customer finally solved the problem. We tried to import data from excel, using csv + UTF-8 encoding.

MS Excel generates UTF-8 BOM marker to the beginning of the file, and because of that, Odoo fails to identify the first field as "id".

IMHO this is odoo import bug, if it does not cope with UTF-8 BOM for UTF-8 files, but workaround is take the data e.g. in windows character set, then import works just fine. 

0
Avatar
Descartar
Avatar
Xavier Brochard
Mejor respuesta

Put a slash "/" in a header (you way want to add fields name but it works without). No need to add datas in the column.


0
Avatar
Descartar
Avatar
Pascal Tremblay
Autor Mejor respuesta

This is not really an answer to original post.

How I manage my Visa each month... 

I download the ofx on AccesD (ofx quicken, conciliation bancaire carte) :


I import it :


I reconcile. Note that total of 0 $ each month end.



My account chart :


We have an account for each Visa card. And we have a main account. Each month, total is transfered to the main account. When we pay the visa with an other bank account, payment is also transferred to the main account. So, when the Visa is paid, all account in the chart should have a balance of 0 $.

We don't download any statement from AccesD for our bank account. We don't use this account for our business (to many fees...). But I have checked, and like you said, it seems that this is only possible to download a CSV file...  


0
Avatar
Descartar
Avatar
Hubert Pineault
Mejor respuesta

I'm with Odoo 10 community. Until 5 minutes ago, the checkbox was always enabled and I was unable to un check it. But now, it's unchecked and I can't re-enable it.

@Pascal Tremblay, I'm using this module to import Desjardins bank account statement. It appears to me that I need the relation fields (mostly those in the line statement section) to import line description (ex. check), line reference (ex. check number), line credit and line debit (Desjardins csv splits them in two column instead of negative numbers). My case is not as complexe as yours. Did you manage to import simple Desjardins statements without relation fields?

0
Avatar
Descartar
Pascal Tremblay
Autor

To import my visa statement (downloaded on the Desjardins AccesD website), on odoo 8, I use two free modules : account_bank_statement_import and account_bank_statement_import_ofx. I use these two modules since 1 year and they are magic. No more need to enter each line, one by one, of my Visa statement each months to reconcile this statement.

Pascal Tremblay
Autor

I didn't try these two modules on odoo 9 and odoo 10. May be they exist for these versions too.

Hubert Pineault

Merci!

Pascal Tremblay
Autor

No kidding, since I have these two modules, my life is not the same! :)

Hubert Pineault

@Pascal how do you download those ofx file4s from AccesD? I can only download csv.

As for the bank statements proper, I managed to download ofx and import them.

Hubert Pineault

@Pascal

And also, how do you manage credit card accounts in odoo?

¿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
Correct import of related records to Odoo
import vendor external_id
Avatar
Avatar
1
mar 23
3675
Weekly imports update the pricing for all our SKU's. Sometimes users create new products before the Import runs. This creates duplicates! How can I manage this? Resuelto
import external_id v11.0
Avatar
Avatar
1
mar 20
5060
Cannot update product information through External ID
import update external_id
Avatar
Avatar
Avatar
Avatar
5
abr 18
9160
Sales Order Import Custom field search res.partner
sales import field res.partner
Avatar
0
mar 15
5684
How to rename "External Id" with the "database id".
import .id database_id external_id
Avatar
Avatar
2
mar 15
13610
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.

Sitio web hecho con

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