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

Running Balance in Bank Transactions Hardcoded After Import?

Suscribirse

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

Se marcó esta pregunta
accountingbalancebank_statementimporting data from excel file
1 Responder
586 Vistas
Avatar
Kiko Cruz

TL;DR:

  1. Does Odoo hardcode the Running Balance value of each bank entry upon import (especially when importing statements)?
  2. Is there a way to re-calculate and update the Running Balance values of transactions based on either entry creation date and time or Journal Entry sequence numbering?

Long explanation:

I recently imported a month's worth of bank transactions to a clean Bank journal, with some transactions happening on the same day. For simplicity, I only included Date, Label, Debit and Credit columns (and not the statement file's running balance). File imported successfully and the total balance of the bank account was accurate.

But on looking at the created entries in detail, I noticed that each item is not exactly in sync as in the import file, but when I looked at the Journal Entry sequence numbers and re-sorted by this column, it aligned to the sequence as in the file BUT the Running Balance per transaction didn't change with the sorting. QUESTION #1: Is this normal behavior that Odoo hardcodes the Running Balance per transaction upon entry creation?

I redid everything by deleting all imported records and Statement of Account that was created on first import. This time, I included the Running Balance from the Excel file. Still the same result where it followed the Running Balance on which transaction Odoo actually imported first (even if Journal Entry sequence is not matching with the file). QUESTION #2: Is there a way to re-sequence the Remaining Balance for transactions based on date of creation or Journal Entry numbering?

To roughly illustrate, here's an example (although there can be hundreds of transactions within a day)...

Import File:

Date

Label

Deposit

Withdrawal

Running Balance

9/16/25

DEP

1,000


6,990

9/16/25

Payment


500

5,990

9/15/25

DEP

200


5,490

9/14/25

Fees


10

5,290

9/14/25

DEP

300


5,300

9/14/25

Initial Balance

5,000


5,000

After Importing: Odoo made its own sorting and calculation of the running balances (even if the Journal Entry sequences are aligned with how the Excel statement of account is sorted; it also doesn't matter if the statement's Running Balance column is also imported)...

Date

Journal Entry

Label

Amount

Running Balance

9/16/25

BNK/2025/0005

Payment

-500

5,990

9/16/25

BNK/2025/0006

DEP

1,000

6,490

9/15/25

BNK/2025/0004

DEP

200

5,490

9/14/25

BNK/2025/0001

Initial Balance

5,000

5,290

9/14/25

BNK/2025/0003

Fees

-10

290

9/14/25

BNK/2025/0002

DEP

300

300

After Sorting by Journal Entry: Records align with how they're imported from the Excel file, BUT the Running Balance for each entry is not updated (although overall statement ending balance is still 5,990).

Date

Journal Entry

Label

Amount

Running Balance

9/16/25

BNK/2025/0006

DEP

1,000

6,490

9/16/25

BNK/2025/0005

Payment

-500

5,990

9/15/25

BNK/2025/0004

DEP

200

5,490

9/14/25

BNK/2025/0003

Fees

-10

290

9/14/25

BNK/2025/0002

DEP

300

300

9/14/25

BNK/2025/0001

Initial Balance

5,000

5,290

I'd like to find a way to re-calculate the running balances correctly (if hardcoded, at least they should be based on entry creation date or Journal Entry sequencing).

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

Hi,


In Odoo, the running balance on imported bank statement lines is stored at the moment of import and is not dynamically recalculated afterward. This means that if transactions are later re-sorted by date or journal entry sequence, the balances remain attached to the order in which they were originally created. What you observed with mismatched balances after sorting is expected behavior.


Odoo does not provide a built-in way to re-sequence or recalculate running balances per transaction. The system relies only on the starting and ending balances of a statement for reconciliation, while per-line balances are treated as informational. As a result, even if the running balances are out of order, reconciliation still works because it depends on debit and credit amounts.


To fix the running balance alignment, you have two options: either implement a custom script or module to recalculate balances in the correct sequence, or ensure your import file is pre-sorted properly before loading it into Odoo. Alternatively, you can ignore the per-line running balance and focus on the ending balance and reconciliation process, which are what matter for accounting accuracy.


Hope it helps

1
Avatar
Descartar
Kiko Cruz
Autor

Thanks for the response. But I did import the transactions in correct order (even the generated sequence numbers for the bank journal are in the same order as in the list). But still even with the order, the calculated running balances are still random. I suppose this is due to some asynchronous batch processing of upload items.

As also mentioned above, I also tried including the running balance column in the upload, just in case it would have some effect on matching while uploading, but it's ignored. But there's no effect from this.

¿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
Odd 18 Journal entry import.
accounting importing data from excel file
Avatar
Avatar
Avatar
Avatar
Avatar
4
jun 25
3022
No Create Statement on Bank
accounting bank_statement
Avatar
Avatar
Avatar
2
oct 22
4802
How can I balance the Bank Outstanding Receipts and Bank Outstanding Payments?
accounting balance bank_statement invoicing v14
Avatar
0
feb 21
8007
Odoo 13 Community Version: Import Bank statement Resuelto
accounting bank_statement
Avatar
Avatar
2
nov 20
8267
Ending balance not updated in bank statement odoo 10 CE
accounting balance bank_statement end closingbalance
Avatar
0
abr 19
4104
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