Discover powerful Dolibarr extensions designed to automate your business processes
1. Purpose & scope
Couldn't load pickup availability
Share

1. Purpose & scope
Public Procurement & Tenders Management turns Dolibarr into a professional platform for managing the complete lifecycle of Moroccan public contracts — from spotting a call for tender through bid submission, award, execution, provisional and final reception, settlement of the balance and the resolution of any dispute. It is designed for the perspective of the titulaire (the contractor / consulting firm that bids for and executes public contracts), and it enforces the statutory obligations and time limits of the Moroccan Cahier des Clauses Administratives Générales (CCAG).
The module covers services and study contracts (CCAG-EMO — studies, project management, technical control, laboratory testing) as well as works contracts (CCAG-T). Every business object, status and deadline in the module is mapped to a precise CCAG article, so the tool is not a generic project tracker but a regulation-aware procurement management system.
Why it matters. Missing a statutory deadline in a public contract has direct financial consequences: loss of the provisional guarantee, a 1% penalty for a late final guarantee (art. 15), daily late-delivery penalties up to a 10% cap (art. 42), or the forfeiture of a claim that was not filed within the legal window (art. 54). The module continuously watches these deadlines so nothing lapses.
2. Regulatory foundation
Each business rule below is implemented in the data model, the dashboards and the CCAG deadline control tower.
|
Area |
CCAG rule implemented |
Reference |
|
Final guarantee (cautionnement définitif) |
3% of the initial contract amount, to be constituted within 30 days of notification of approval |
Art. 12 |
|
Guarantee retention (retenue de garantie) |
One tenth (1/10) withheld on each instalment, capped at 7% of the contract amount |
Art. 40 |
|
Guarantee release (mainlevée) |
Within 3 months of the final reception |
Art. 16 |
|
Service orders (ordres de service) |
Written, dated, numbered; the contractor returns a signed copy within 8 days |
Art. 9 |
|
Amendments (avenants) |
Additional services within the 10% limit; ±25% variation thresholds; approval by the competent authority |
Art. 10, 36 |
|
Insurance |
Vehicles, work accidents, civil liability, equipment — permanent cover during execution |
Art. 20 |
|
Deliverables & approval |
Report / document / product submission, approval, correction requests or refusal for serious deficiency |
Art. 46-47 |
|
Receptions |
Provisional (triggers the technical warranty) then final |
Art. 48-49 |
|
Statements (décomptes) |
Instalments, provisional statements and the general & final statement (DGD) |
Art. 39-44 |
|
Late-delivery penalties |
Daily penalty of a fraction of a thousandth (1/1000), capped at 10% of the contract amount |
Art. 42 |
|
Claims & disputes |
Competent authority (reply within 2 months) then minister (60 days) then competent court |
Art. 53-55 |
3. Functional architecture
The module is organised as 17 interconnected business objects. Each has a list view with column show/hide, faceted search and a detail card; hub objects additionally display a KPI cockpit and their related records inline.
|
# |
Object (menu) |
Role |
CCAG |
|
1 |
Contracting authorities |
Public clients (State, local authorities, public institutions, public enterprises) |
Art. 2 |
|
2 |
Calls for tender |
Tender watch & opportunity pipeline (procedure, estimate, deadline, place, status) |
— |
|
3 |
Bids |
The firm's technical & financial offer, scoring, ranking and result |
Art. 12 |
|
4 |
Constitutive documents |
Commitment deed, CPS, CPC, price schedule, CVs, methodology note — with prevalence order |
Art. 4 |
|
5 |
Contracts |
Awarded contract: price type/nature, amounts, dates, guarantee & penalty rates, progress, status |
Art. 3, 34 |
|
6 |
Phases & tranches |
Partial deadlines and phased execution of the contract |
Art. 7, 46 |
|
7 |
Service orders |
Commencement, postponement, resumption, modification, cessation, formal notice |
Art. 9 |
|
8 |
Amendments |
Additional services, volume increase, change of authority / company name / bank details |
Art. 10, 36 |
|
9 |
Guarantees & bonds |
Provisional, final (3%), guarantee retention (7%), personal surety, technical guarantee |
Art. 12-16, 40 |
|
10 |
Assigned staff |
Team members, qualifications, CV, commitment rate, agreement/replacement status |
Art. 18 |
|
11 |
Assigned equipment |
Machinery and tools committed to the contract |
Art. 18 |
|
12 |
Insurance policies |
Cover type, insurer, validity, renewal status |
Art. 20 |
|
13 |
Deliverables |
Reports, documents, drawings, calculation notes; submission & approval workflow |
Art. 46-47 |
|
14 |
Receptions |
Provisional / final / partial reception with minutes and reservations |
Art. 48-49 |
|
15 |
Statements & instalments |
Work amount, retention, penalties, price revision, net amount, payment tracking |
Art. 39-44 |
|
16 |
Delay penalties |
Delay days, daily rate (1/1000), amount, 10% cap |
Art. 42 |
|
17 |
Claims & disputes |
Recourse level, memorandum date, reply deadline, escalation to minister / court |
Art. 53-55 |
4. Command centre (dashboard)
The home dashboard consolidates the whole portfolio into five decision zones:
· Contract portfolio — total & running contracts, portfolio value, amount collected this month and in total, active guarantees, win rate, late deliverables.
· Tender pipeline — a Kanban of calls for tender by status (identified, in preparation, submitted, awarded, lost, unsuccessful) with the associated estimated amounts.
· Analytics — payments over 12 months, contracts by service type, contracts by status, and portfolio by contracting authority.
· Execution & finance — service orders not returned within 8 days, pending amendments, applied penalties, cumulative guarantee retention.
· CCAG compliance — final guarantees to constitute, insurance to renew, provisional receptions under warranty, open claims — with a direct link to the deadline control tower.
5. CCAG deadline control tower
A dedicated screen (Échéances CCAG) tracks every statutory time limit and flags each item as On time, Due soon or Overdue. It covers: the 30-day final-guarantee constitution (art. 12), the 8-day signed return of service orders (art. 9), insurance validity (art. 20), the 3-month guarantee release after final reception (art. 16), the 2-month / 60-day claim replies (art. 53-54), penalties approaching the 10% cap (art. 42), and deliverables past their planned date (art. 46-47). Each section states the exact CCAG article it enforces.
6. Reporting
Seven decisional reports, each exportable to CSV and printable: contract portfolio by status, contracts by service type, tender success rate by procedure, monthly settlement, penalties, guarantees, and a breakdown by contracting authority.
7. Roles & permissions
Access is governed by eight permission groups — contracting authorities, tenders, contracts, execution, finance, receptions, litigation and reporting — each with read / write / delete rights. Read and write are granted by default on activation so the module is immediately usable; delete and administration are reserved.
8. Demonstration dataset
On activation the module seeds a realistic, fully coherent Moroccan portfolio: 8 public contracting authorities (Ministry of Equipment & Water, Ministry of Health, Casablanca-Settat Regional Council, ONEE, ANP, OCP Group, Al Omrane…), 20 calls for tender, 17 bids, 9 awarded contracts and their entire CCAG execution chain — constitutive documents, phases, service orders, amendments, guarantees, staff, equipment, insurance, deliverables, receptions, statements, penalties and claims. All statutory ratios are respected (3% final guarantee, 7% retention cap, 1/1000 daily penalty capped at 10%), and the data is calibrated so every dashboard KPI, chart and compliance tile is immediately meaningful. The dataset can be reinstalled or removed from the setup page.
9. Technical specification
|
Item |
Value |
|
Technical name / prefix |
gestionmarchespublics / llx_gmp_* |
|
Dolibarr compatibility |
16.0 and above (tested on 17.0.3) |
|
PHP |
7.1 and above (tested on 8.1) |
|
Dependencies |
Third parties (Société), Projects |
|
Database tables |
17 (one per business object), multi-entity aware |
|
Languages |
French (primary), English, Spanish, Italian, German |
|
Integration |
Native Third-Party links for contracting authorities; self-healing schema; on-activation demo seeding |
|
Deliverables |
CSV export on every report; print-ready views |
10. Installation
1. Copy the gestionmarchespublics folder into htdocs/custom/.
2. Open Home then Setup then Modules/Applications, find Public Procurement & Tenders Management in the Projects family and enable it.
3. The module creates its tables, menu, permissions and a demonstration dataset automatically.
4. Adjust the statutory rates (final guarantee, retention cap, penalty cap, guarantee deadline) on the module setup page if needed.
© 2026 DoliResources — www.doliresources.com. This document describes version 1.0.0 of the module. Compliant with the Moroccan CCAG-EMO (Décret n° 2-01-2332 du 4 juin 2002) and CCAG-T (Décret n° 2-14-394 du 13 mai 2016).
Receive product updates, new releases, feature announcements and exclusive offers.