Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Running Balance in Bank Transactions Hardcoded After Import?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
accountingbalancebank_statementimporting data from excel file
1 Respondre
572 Vistes
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
Best Answer

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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Odd 18 Journal entry import.
accounting importing data from excel file
Avatar
Avatar
Avatar
Avatar
Avatar
4
de juny 25
2978
No Create Statement on Bank
accounting bank_statement
Avatar
Avatar
Avatar
2
d’oct. 22
4792
How can I balance the Bank Outstanding Receipts and Bank Outstanding Payments?
accounting balance bank_statement invoicing v14
Avatar
0
de febr. 21
7997
Odoo 13 Community Version: Import Bank statement Solved
accounting bank_statement
Avatar
Avatar
2
de nov. 20
8261
Ending balance not updated in bank statement odoo 10 CE
accounting balance bank_statement end closingbalance
Avatar
0
d’abr. 19
4093
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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