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.
Câu hỏi này đã bị gắn cờ
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
1
thg 8 25
|
9120 | ||
|
|
1
thg 6 25
|
14117 | ||
|
|
1
thg 11 22
|
6452 | ||
|
|
1
thg 11 20
|
8811 | ||
|
|
6
thg 6 20
|
25944 |
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.