Bosnian localization of "Odoo" open-source platform: Master Data


Bosnian version of this article / Bosanska verzija članka

Presentation

Master Data in “Odoo” Platform

“Odoo” provides excellent support for master data management via XML and CSV data files.

Benefits of “Odoo” approach to master data:

  • Clear information about master data which are essential for ERP projects
  • Fast database installation for testing
  • Reliable setting of master data in production

Real World Problem

A real problem arises when deploying and maintaining Odoo modules on systems that manually manage master data. The problem is interference between your module’s master data and manually injected master data into the database.

Bad Solution (First Iteration)

The first solution was excluding data files from __manifest__.py:

  • It seemed like a good “workaround” solution
  • Soon maintenance became a nightmare
  • l10n_ba and l10n_ba_pdv are base modules for multiple customers
  • Your modules have to be equal - standardized for all users
  • Lack of feedback (installation failures, warnings) creates a big problem

Good Solution (Second Iteration)

What:

  • Remove all master data(*) to separate modules

How:

  • Big refactoring - reorganization of modules

Result:

  • Clients who manually manage master data get only necessary modules
  • “Normal” clients get additional data modules
  • All clients get unchanged standardized modules

Module Structure After Refactoring

l10n_ba Project

ModuleDescription
l10n_baContains code and data (Bosnian cities, entities/cantons)
l10n_ba_dataData only - common data for BiH (taxes, journals etc.)
l10n_ba_fbih_dataChart of accounts for entity FBiH
l10n_ba_rs_data (*)Chart of accounts for entity RS (to be done)
l10n_ba_bd_data (*)Chart of accounts for Brčko District (to be done)

l10n_ba data:

  • res.bank.csv - Bosnian banks
  • res.city.csv - Cities in BiH
  • res.country.state.csv - Entities and cantons

l10n_ba_data data:

  • Tax groups and templates
  • VAT tags for reporting
  • Taxes (VAT 17%, 0%, etc.)
  • Fiscal positions
  • Journal groups
  • Journals
  • Landed cost products

l10n_ba_fbih_data data:

  • Chart of accounts template (account.chart.template)
  • Account groups (account.group.template)
  • Account templates (account.account.template)

Note

🤖 The content of this article was mostly generated by Claude AI.


Ernad Husremović bring.out doo Sarajevo hernad@bring.out.ba