For example, I was checking the code at line 41 in _select_sale() method in addons/pos_sale/report/sale_report.py, and the docker latest version is not the same as on github.
Denna fråga har flaggats
This is expected behavior and you are not doing anything wrong.
Best Regards,

CandidRoot Solutions Pvt. Ltd.
Email: info@candidroot.com
Web: https://www.candidroot.com
Hi,
The official Odoo Docker images are built from stable release branches or specific commits, not from the latest GitHub code. GitHub often contains newer commits that have not yet been backported, released, or included in a Docker image. As a result, the code in odoo:latest (or versioned images like odoo:17.0) can lag behind the current GitHub branch.
If you need the exact GitHub version, you must either build your own Docker image from the desired Git commit/branch or mount a locally cloned Odoo source into the container.
Hope it helps
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
aug. 25
|
9126 | ||
|
|
1
juni 25
|
14123 | ||
|
|
1
nov. 22
|
6454 | ||
|
|
1
nov. 20
|
8822 | ||
|
|
6
juni 20
|
25951 |
Hello,
image: odoo:19.0
pull_policy: always
It is always pull the latest code.
The official Odoo Docker images may lag behind the latest GitHub source. Use a custom Dockerfile or build from source for the latest features.