# Ethiopian Calendar – Odoo 18 Module
Displays the **Ethiopian (Ge'ez / Ethiopic)** date alongside **every** Gregorian date/datetime field in Odoo 18 – forms, lists, kanban, and PDF reports.
---
## Features
| Feature | Detail |
|---|---|
| Coverage | All `date` and `datetime` fields site-wide |
| Display | Ethiopian date badge beneath/beside Gregorian dates in UI |
| Reporting | Automatically appends Ethiopian date to PDF and HTML reports |
| Date Picker | Integrated Ethiopian date selector in the Odoo calendar widget |
| Languages | Support for **Amharic (Ge'ez)** and **Afaan Oromoo** month names |
| Configuration | Customizable locale and report visibility |
| Dark mode | Native support for Odoo 18 light and dark themes |
---
## How It Works
### UI Integration
```
Gregorian: 06/08/2026
↓
Ethiopian: 30 ግንቦት 2018 ዓ.ም ← badge injected automatically
```
The module patches Odoo's core `DateField` and `DateTimeField` to inject an Ethiopian date badge. It also adds a **Calendar** toggle to the date picker, allowing you to select dates using the Ethiopian calendar directly.
### Reporting
When printing invoices, sales orders, or any other document, the Ethiopian date is automatically appended to date fields (e.g., `June 8, 2026 (30 ግንቦት 2018 ዓ.ም)`).
---
## Configuration
Navigate to **Settings → General Settings → Business Documents**.
- **Ethiopian Month Language**: Choose between Amharic (default) or Afaan Oromoo.
- **Include Ethiopian Date In Reports**: Toggle whether the Ethiopian date appears on printed documents.
The module also detects the user's current language. If the user's language is set to Amharic or Oromo, the Ethiopian calendar will automatically use the corresponding names.
---
## Technical Details
### Conversion Algorithm
The module uses the **Rata Die** (fixed-day system) based on the Reingold & Dershowitz algorithm for high precision.
- **Ethiopian Epoch**: Meskerem 1, 1 AM = JDN 1723856 (Rata Die 2796).
- **Leap Year**: Pagume has 6 …