diff --git a/README.md b/README.md index 24e0d85..cebf06b 100644 --- a/README.md +++ b/README.md @@ -422,6 +422,25 @@ done This ensures Odoo can create attachments, logs, and configuration files without permission errors. +#### Odoo startup page (Projects instead of Discuss) + +By default, Odoo 19 opens **Discuss** after login. The custom addon [`odoo/addons/project_home_action`](odoo/addons/project_home_action) restores the **Home Action** field on user Preferences and sets it to **Projects** for internal users. + +`./odoo/addons` is already mounted into the container at `/mnt/extra-addons` via [`odoo/odoo.yml`](odoo/odoo.yml). After deploying a revision that includes this addon: + +1. Restart Odoo if the container was already running, so it picks up the new module files: + ```bash + docker compose restart odoo + ``` +2. In Odoo, open **Settings → Apps**. +3. Remove the **Apps** filter (and enable **developer mode** if the Apps menu is limited), then **Update Apps List**. +4. Search for **Project as Home Action** (`project_home_action`) and **Install** it. +5. Log out and log back in. You should land on Projects (`/odoo/project`) instead of Discuss. + +On install, existing internal users with an empty Home Action are updated automatically. New internal users get the same default. You can still change Home Action per user under **Settings → Users → Preferences** (or **My Preferences**). + +Requires the **Project** app to be installed (`depends: project`). + ### Compose File Structure This repository uses a modular approach with multiple compose files: