Odoo

How to Connect GitHub with Odoo Project: Two-Way Sync of Issues, Pull Requests and Tasks

Issues and tasks in sync both ways, a branch per task, review and CI badges on the kanban, and deployments marked in Odoo.

A checkbox whose red check stretches into a git branch and ends in a commit node, merging into the main line, with arrows showing two-way sync.
Author
Cristhian Agamez CEO
Published
min read
6
  • Odoo

How do you connect GitHub with Odoo Project so issues and tasks stay in sync? Install an integration that links each Odoo project to its GitHub repositories and syncs in both directions. GitHub Integration by UnderCodes does exactly that: issues and tasks stay in sync field by field, every task gets its own branch, pull requests show their review and CI status on the kanban, and deployments mark the work that is live. It costs USD 50 one-time and runs on Odoo 18, 19 and 20, Community and Enterprise.

The rest of this article covers the problem it solves, how the sync works, how to set it up, what it protects and where it stops.

The problem: the work lives in GitHub, the people who need it live in Odoo

Developers plan and ship in GitHub. Project managers, sales and support work in Odoo. When the two don't talk, one of two things happens.

Either everyone gets a GitHub seat just to check whether a feature is done, or they keep asking developers for status. The first costs licenses and adds people to a tool they don't use for anything else. The second costs developer focus, one Slack message at a time.

Meanwhile the Odoo task says "In progress" while the pull request was merged two days ago. The customer asks support whether the fix is live, and nobody outside the dev team can answer without asking.

The fix is to make Odoo reflect what GitHub already knows, automatically, and let changes made in Odoo flow back to GitHub.

How the two-way sync works

Issues and tasks, field by field

Each GitHub issue maps to an Odoo task. These fields sync in both directions:

  • Title and description
  • Status (closing a task closes the issue as completed; canceling it closes the issue as not planned; reopening works both ways)
  • Assignees
  • Labels
  • Internal notes, which become GitHub comments

Customer-facing messages stay in Odoo. If the same field changes on both sides, the latest change wins.

A branch for every task

When a new task is created, Odoo creates its branch on GitHub. Developers start from the task, not from a blank branch name.

Links by team key

Branches, pull requests and issues link to tasks through the key your team already uses, such as [MVP-35], UND-12 or odoo-42. A pull request that says "Closes #12" also links to that issue's task.

Pull requests with review and CI badges

Pull request state, review status and CI checks show as badges on the Odoo kanban. A project manager can see at a glance which tasks are waiting for review, which have changes requested and which have failing checks. Dedicated views filter pull requests by those states, plus "merged this week", grouped by project.

Deployments per environment

Deployments show their latest state per environment. When a successful deployment contains a task's merged code, the task is marked deployed to production. That is the answer support needs when a customer asks whether the fix is live.

Stages that move on their own

Per project, you choose which stage a task moves to when its pull request is opened, marked ready for review, approved, merged or deployed. The board updates from GitHub events, so nobody drags cards to keep it current.

Setup: one GitHub App and a list of repositories

  1. Create the GitHub App from Odoo. Odoo generates the App with its permissions and webhook already filled in. You install it on your organization and pick the repositories.
  2. Add repositories to a project. The first sync imports every issue as a task (or links it to an existing task by its key), gives each task without an issue its own issue, and turns finished tasks into closed issues. Stage rules are proposed from your stage names.
  3. Map developers. Each developer sets their GitHub login on their Odoo user, so assignees and comments line up.

After that, GitHub sends changes to Odoo by webhook, verified by signature. Outbound changes from Odoo go through a queue with retries and rate-limit handling. A nightly resync catches anything a webhook missed. If something fails, the error shows on the task and in a log instead of disappearing.

One requirement: your Odoo instance must be reachable over HTTPS from the internet so GitHub can deliver webhooks. On servers that host several databases, the domain must point to one database.

Security and access

  • The App's private key and secrets are readable only by Odoo administrators.
  • GitHub data in Odoo follows the project's access rules. If a user can't see a project, they can't see its issues or pull requests.
  • Only developers need GitHub accounts. Everyone else follows the work from Odoo.
  • Changes made from Odoo appear on GitHub as the App, with the author's name in the text, so the history stays readable.

Where it stops

Knowing the limits up front saves a support ticket later:

  • It supports github.com organizations and personal accounts. GitHub Enterprise Server and other Git hosts are not supported.
  • Comment edits and deletions, attachments, milestones and GitHub Projects boards are not synced.

Compatibility and price

ItemDetail
Odoo versions18, 19 and 20
EditionsCommunity and Enterprise
Depends onProject and Discuss
GitHubgithub.com organizations and personal accounts
PriceUSD 50, one-time
LicenseOPL-1

There is no per-user or per-repository fee. Because only developers need GitHub accounts, the rest of the team doesn't add seats to follow the work.

We run our own projects on it

UnderCodes built this integration for its own delivery work and uses it in production. One client project currently has 43 tasks synced to GitHub: the developers work in branches and pull requests, and the project manager follows review, CI and deployment status from the Odoo board without asking for updates.

Frequently asked questions

Does everyone on the team need a GitHub account?

No. Only developers do. Project managers, sales and support see issues, pull requests and deployments inside Odoo.

What happens to issues that already exist?

When you add a repository, each existing issue becomes a task or links to the task that carries its key. Tasks without an issue get one.

What if a webhook is missed?

The nightly resync picks up missed changes, and failed outbound changes are retried and logged.

Which Odoo version should I install?

The app is published for Odoo 18, 19 and 20. Install the listing that matches your database.

Get GitHub Integration

If your developers live in GitHub and the rest of the company lives in Odoo, this connects the two for a one-time USD 50.

Get GitHub Integration for Odoo 19 on the Odoo Apps Store. Also available for Odoo 18 and Odoo 20.

Have a technology challenge in mind?

Tell us what you are trying to solve. We will help you find the right path, and if there isn't one, we will say so. A person reads every message and replies within one business day.

Let's talk

KODY › SCHEDULE

Book your discovery call

30 min · free ·

Loading times…