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. Localization
  3. Algeria Wilayas & Communes v 19.0
  4. Sales Conditions FAQ

Algeria Wilayas & Communes

by Yacine Bendou https://apps.odoo.com/apps/browse?repo_maintainer_id=1164033
Odoo
v 19.0 Third Party 4
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 • Contacts (contacts)
• Discuss (mail)
Community Apps Dependencies Show
Smart City Selection
Lines of code 21734
Technical Name dz_wilaya_commune_yb
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/browse?repo_maintainer_id=1164033
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Contacts (contacts)
• Discuss (mail)
Community Apps Dependencies Show
Smart City Selection
Lines of code 21734
Technical Name dz_wilaya_commune_yb
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/browse?repo_maintainer_id=1164033
Algeria Wilayas & Communes
Algeria Wilayas & Communes
Why Sources Contents Features How to install Specs Changelog Contact
Data Companion  ·  Odoo 19  ·  Algeria

Algeria's Official
Wilayas & Communes

The complete, authoritative geographic dataset for Algeria — 69 wilayas and 1,541 communes, sourced from the ONS 'Code Géographique National' and 'Loi 26-06', with official names in both French and Arabic.

69 wilayas 1,541 communes FR + AR official names Journal Officiel sourced
69 wilayas Official 2026 map
1,541 communes Every single one
FR + AR Both languages
LGPL-3 Free forever

The problem with other datasets

Wrong data is worse than no data

Algeria's map changed twice in seven years — 48 wilayas became 58 in December 2019 (Loi 19-12), then 58 became 69 in April 2026 (Loi 26-06). Most modules on the market are still stuck on 1984. Others guessed the 59–69 codes from daïra capitals before they were officially created. This module reads the Journal Officiel directly — no guesswork, no outdated snapshots.

Outdated wilaya counts

Loi 19-12 (Dec 2019): 48 → 58. Loi 26-06 (Apr 2026): 58 → 69. Most datasets haven't moved past 1984.

Daïras mistaken for wilayas

Aflou, Barika, Bou Saada and others appear as wilayas 59–69 in many datasets — they were daïra capitals, not wilayas, until 'Loi 26-06'.

No Arabic names

Every wilaya and commune has an official Arabic name. Shipping without them means Arabic-language users see French text in an Arabic interface.

Typical Algeria module
48 wilayas — frozen at the 1984 map
ALL CAPS French names from raw PDF dumps
No Arabic names whatsoever
Wrong commune counts — some wilayas have 0
VS
This module
69 wilayas — reflects 'Loi 26-06' of April 2026
Title Case French names — properly capitalized
Official Arabic name for every record
1,541 communes — correct count in every wilaya

Where the data comes from

Two official sources, zero guesswork

Every record traces directly to a government-issued document. Nothing is interpolated, estimated, or borrowed from unofficial third-party lists.

Source 1 — Names & 2021 Baseline

Code Géographique National 2021

Published by the Office National des Statistiques (ONS), this is Algeria's official geographic reference. It lists all wilayas, communes, daïras, and agglomérations with French and Arabic names, reflecting the December 2019 reform (Loi 19-12: 48 → 58 wilayas).

1,541 communes with French and Arabic names
Unique 4-digit geographic code per commune
Source 2 — 2026 Territorial Reform

Journal Officiel N° 25 — Loi 26-06

Signed on 4 April 2026. 'Loi n° 26-06' creates 11 new wilayas (codes 59–69) and explicitly lists the communes belonging to each — bringing the total to 69 wilayas.

11 new wilayas: Aflou, Barika, El Kantara, Bir El Ater, El Aricha…
108 communes reassigned to their new wilaya

Bilingual by design

Every record carries its official name in both French and Arabic — exactly as published in the source documents.

Français Alger
·
العربية الجزائر

What's inside

Everything Algeria needs — nothing more

Two data files — one for wilayas, one for communes. Both are protected with noupdate="1" so your customizations are never overwritten on upgrade.

wilaya_data.xml

All 69 Algerian wilayas, loaded into Odoo's built-in state registry.

69 wilayas, codes 01–69
French name in Title Case
Arabic name included natively
commune_data.xml

All 1,541 communes, loaded into the city dropdown provided by 'smart_city_selection_yb'.

1,541 communes, sorted by wilaya
4-digit geographic code per commune
Each commune linked to its wilaya
Bilingual by design

Every record carries its official name in both French and Arabic — exactly as published in the source documents.

Français Alger
·
العربية الجزائر

What makes it different

Built right — stays right

noupdate="1" protection

All data records carry noupdate="1". If you rename a wilaya or edit a commune, Odoo will never overwrite your change on the next module upgrade.

Bilingual — FR & AR

Every wilaya and commune ships with its official French name in Title Case and its Arabic name — both sourced directly from the official reference documents.

Official ONS source

Communes sourced from the ONS CGN 2021 (Office National des Statistiques — Code Géographique National). No invented names, no guesswork.

Loi 26-06 compliant

The 69-wilaya map introduced by the Journal Officiel Loi 26-06 (April 2026) is fully reflected. Codes 01–69, no gaps, no duplicates.

69 wilayas, codes 01–69

All 69 wilayas: the original 48 (1984), plus 10 added by Loi 19-12 (December 2019), plus 11 added by Loi 26-06 (April 2026). Each assigned its official 2-digit code.

1,541 communes

Every commune in Algeria — sorted by wilaya, each linked to its parent wilaya and carrying a unique 4-digit geographic code.

4-digit geographic code

Each commune carries a unique 4-digit ONS CGN code — for example, 1601 for Alger-Centre. Searchable and filterable directly in the dropdown.

Zero code — data only

No Python, no models, no views — just two XML data files. Nothing to break, nothing to conflict with, nothing to maintain.


Step 1 — Dependency

Install the city engine first

  • 1
    Install smart_city_selection_yb

    This module depends on smart_city_selection_yb, which provides the city dropdown model that wilayas and communes are loaded into. Install it first from the Odoo App Store.

smart_city_selection_yb
Odoo 19.0 LGPL-3 Free Required dependency
smart_city_selection_yb — Required dependency
View on Odoo App Store →

Step 2 — This module

Install and it's done

  • 1
    Drop in your addons path

    Copy dz_wilaya_commune_yb into your Odoo addons directory alongside smart_city_selection_yb, then update the module list.

  • 2
    Click Install — data loads automatically

    No configuration needed. 69 wilayas and 1,541 communes are loaded immediately and available in the commune dropdown on any Algerian partner form.

How the data is structured

Algeria
Country
→
Wilaya
State · 69 total
→
Commune
City · 1,541 total

Communes load into the city dropdown provided by smart_city_selection_yb, and are filtered automatically when a wilaya (state) is selected on the partner form.


Use cases

Who is this built for?

Odoo Implementers

Deploying for Algerian clients? Add it to your standard kit and get accurate wilayas and communes pre-loaded from day one — no manual data entry.

Algerian Businesses

Any company managing Algerian partners, customers, or deliveries needs standardized wilaya and commune data. Stop re-typing the same locations differently every time.

Arabic-Language Deployments

Every record ships with its official Arabic name. Forms, reports, and exports display the correct Arabic designation without any additional configuration.

Government & Public Sector

Agencies that require compliance with official territorial divisions get a dataset sourced directly from the ONS and the Journal Officiel — no improvised lists.

E-Commerce & Logistics

Accurate commune data means accurate delivery addresses. Stop losing shipments to inconsistent or outdated location names across your Algerian customer base.


"

Algeria rewrote its map twice in seven years — 48 wilayas in 1984, then 58 in December 2019 (Loi 19-12), then 69 in April 2026 (Loi 26-06). I kept finding modules that never caught up, shipping 48 wilayas from a PDF dump, no Arabic names, commune counts that didn't add up. Every project started with a cleanup. This module reads the official sources — ONS CGN and the Journal Officiel — and ships them ready to use. Bilingual, correct, and upgrade-safe.

YB
Yacine Bendou
Author

Technical details

Compatibility & specs

Odoo version 19.0
License LGPL-3
Module type Data only — no Python, no views, no models
Dependencies base   smart_city_selection_yb
Wilayas loaded 69 — codes 01–69 (reflects Loi 26-06, April 2026)
Communes loaded 1,541 — every commune in every wilaya
Geographic code 4-digit identifier per commune (e.g. 1601 = Alger-Centre)
Translations French (fr) and Arabic (ar) — official names
Upgrade safety noupdate="1" — your edits are never overwritten
Installation Drop in addons path and install — no manual configuration.

Release history

Version changelog

v 2.0.02026-05-19Latest
Initial release — 69 wilayas loaded (codes 01–69), reflecting Loi 26-06 (April 2026)
1,541 communes loaded, sorted by wilaya, each linked to its parent wilaya
4-digit ONS CGN geographic code per commune (e.g. 1601 = Alger-Centre)
French (fr) and Arabic (ar) official names for all wilayas and communes
noupdate="1" on all records — upgrade-safe by design
Data-only module — no Python, no models, no views, no conflicts

Questions or feedback?

Bug reports and feature suggestions are always welcome.

@ yacine.bendou.01@gmail.com
Why Sources Contents Features How to install Specs Changelog
Yacine Bendou
© 2025 Yacine Bendou  ·  LGPL-3  ·  Odoo 19

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.
Please choose a rating from 1 to 5 for this module.
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