Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Accounting
  3. Romania - Statement Line Automation v 19.0
  4. Sales Conditions FAQ

Romania - Statement Line Automation

by NextERP Romania https://www.nexterp.ro
Odoo
v 19.0 Third Party 24
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 26
Technical Name l10n_ro_statement_line_automation
LicenseAGPL-3
Websitehttps://www.nexterp.ro
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 26
Technical Name l10n_ro_statement_line_automation
LicenseAGPL-3
Websitehttps://www.nexterp.ro
Versions 18.0 19.0
Romania - Statement Line Automation icon

Romania - Statement Line Automation

Automatically create bank statements in statement lines

v 19.0.0.0.0 AccountingAGPL-3
  • Overview
  • Features
  • Configuration
  • How it works
  • Versions

Overview

Automate the attachment of bank statement lines to a parent bank statement on Romanian companies. When a new line is created without a statement_id, the module looks for an existing statement on the same journal and date, creates one if it does not exist, and links the line to it.

This avoids the manual step of opening or creating a daily statement before importing bank transactions — useful for setups that ingest statement lines through MT940 / CAMT.053 parsers, OCR uploads or external feeds, where the source format only carries the line and not its statement wrapper.

The behaviour is gated on the company's country code being RO, so multi-company databases that mix Romanian and non-Romanian entities keep the standard Odoo behaviour everywhere else.


NextERP Romania

Built & supported by NextERP Romania

Romanian Odoo specialists, here for the long run — from implementation to localization and day-to-day production support.

10+
Years of Odoo experience per team member
80%+
of Romanian Localization maintained on Odoo Apps
19.0
Tracking every Odoo major release

What we do

⚙️

Odoo Solutions

From quick-start rollouts to multi-company deployments and custom modules built for your processes.

🇷🇴

Romanian Localization

SAF-T (D406), e-Factura, e-Transport, D300 / D390 / D394, ANAF integration, full chart of accounts and fiscal positions.

🛟

Our Services

Implementation, customization, migration, integration, support and consultancy — Romanian-speaking, SLA-backed.

Features

  • Country-scoped automation — the create override on account.bank.statement.line runs only when the company's country code is RO, leaving other localisations untouched.
  • Date + journal grouping — a new line without statement_id is attached to the existing account.bank.statement that matches its journal_id and date; one statement per journal per day.
  • On-demand statement creation — if no matching statement exists, one is created with the line's date used as both date and name, then linked to the line.
  • Balance recomputation — after the link is set, the module triggers _compute_balance_end and _compute_balance_end_real on the statement so the running balance stays consistent with the new line.
  • Batch-friendly — implemented through @api.model_create_multi, the override processes each record of a multi-create call individually, which keeps it compatible with bulk imports from parsers and connectors.
  • No new UI — the module adds no fields, views, menus or configuration; behaviour is automatic on record creation.
  • No data files — installation simply loads the model override; there is nothing to seed or migrate.

Configuration

The module is dependency-driven: install it and the automation runs as soon as a Romanian company creates a bank statement line. There are no settings, no menus and no user-facing toggles.

1. Install dependencies

The manifest depends on:

  • account — bank statement and statement line models.
  • l10n_ro — Romanian localisation; required so the country detection on res.company matches a real installed chart.

Both must be installable in the database before this module.

2. Set the company country

Go to Settings → Companies → Companies and open the Romanian company. Make sure Country is set to Romania (RO). The automation reads record.company_id.country_id.code to decide whether to run, so any company with a different country code is skipped.

3. Configure a bank journal

Go to Accounting → Configuration → Journals and ensure each bank journal that receives lines has the right currency and accounting defaults. The module does not create journals; it only attaches lines to statements within an existing journal.

4. Optional — import pipelines

The automation is most useful when statement lines arrive without a parent statement, for example:

  • CAMT.053 / MT940 imports via account_bank_statement_import_* modules that read one transaction per line.
  • OCR uploads through account_invoice_extract or a custom connector that drops lines into a journal.
  • External connectors posting account.bank.statement.line records via XML-RPC / web API.

No specific setup is required on these pipelines — once they create the lines, this module fills in statement_id.

5. User access

The override runs in sudo-less context as the user who creates the line. Standard Accounting access on account.bank.statement / account.bank.statement.line is enough; no extra security groups are added.

How it works

The whole module is one override on account.bank.statement.line.create. There is nothing to click — usage is observing the side effect when new lines are created.

Trigger

A new account.bank.statement.line is created (single record or batch) on a company whose country is RO, and statement_id is not set in the vals.

Resolution

For each affected line, the override:

  1. Searches account.bank.statement for a record with journal_id == record.journal_id and date == record.date.
  2. If a statement exists, links the line to it.
  3. If no statement exists, creates one with journal_id, date, and name = date, then links the line to the new statement.
  4. Calls _compute_balance_end and _compute_balance_end_real on the resulting statement so the closing balance is refreshed immediately.

Typical flow

  1. A bank-statement importer (CAMT.053, MT940, custom feed) calls create() on account.bank.statement.line with one record per transaction.
  2. Odoo would normally leave each line orphaned until a user opens Accounting → Bank → Bank Statements and creates a daily statement.
  3. With this module installed, the line is already attached to a per-journal, per-date statement by the time create() returns.
  4. Open Accounting → Bank to find the statement listed with its computed end balance; the lines are visible inside it.

What it does not do

  • Does not reconcile or match the line to a journal entry.
  • Does not change the line's amount, partner or labels.
  • Does not run on non-Romanian companies, even in a multi-company database.
  • Does not create statements for lines that already have a statement_id.

Versions

19.0.0.0.0 (2026-05-25)

  • Changelog tracking starts at this release.

Discover the NextERP suite

Other modules from the same publisher, built to work together.

RO
Romania - E-invoicing Extension
Accounting/Localizations/EDI

E-Invoice implementation for Romania

NE
NextERP - Account EDI Journalt
Accounting

NextERP - Account EDI Journal

NE
NextERP - Account Invoice Report
Accounting

NextERP - Account Invoice Report

BO
BOM Excel Import
Manufacturing

This module allows importing Bills of Materials (BOMs) from Excel files. The Excel file should have the following structure: - Column 1: Product produced - Column 2: List of operations in the BOM - Column 3: Quantity consumed in each operation - Column 4: Product/component consumed UOM - Column 5: Product/component consumed - Column 6: Workcenter - Column 7: Subcontracting (boolean) - Column 8: Subcontractors (comma-separated) The import process uses multi step wizard: 1. Import operations and workcenters 2. Import BOMs with the operations The wizard guides you through the complete process in a single interface.

NE
NextERP - Auto Create Sale Tasks

NextERP - Auto Create Sale Tasks

NE
NextERP - Conformity Certificate
Special

NextERP - Conformity Certificate

NE
NextERP - Product Kit
Sales

NextERP - Product Kit

NE
NextERP - Product Kit Sale
Sales

NextERP - Product Kit Sale

NextERP Romania

Odoo implementation, customization, Romanian localization and long-term support since 2018.

nexterp.ro
All apps

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with