Odoo18 upgrade - #31
Open
marcos-mendez wants to merge 1 commit into
Open
Conversation
marcos-mendez
force-pushed
the
odoo18-upgrade
branch
from
March 16, 2026 06:57
872f3e4 to
c200e55
Compare
Major changes: - Odoo 18 from official nightly apt repo (was v16 from backports) - Added WebSocket proxy support for live chat/notifications - Updated odoo.conf with production-optimized defaults - Added /opt/odoo/custom-addons for OCA/custom modules - Updated inithook for Odoo 18 password hashing - Installed rtlcss and wkhtmltopdf 0.12.6 - Updated README and changelog
Author
|
@JedMeister This allow odoo 18 in debian 12. Im starting to work to helpyou on that matter to be able to work on trixie Big hug |
|
Thanks for this work @marcos-mendez — I haven't tested yet but have reviewed the code carefully across both PRs. Should we discuss how we bring the best of both (Odoo 16 and Odoo 18 targeted) forward as we flesh out the tkl19 build? See the related discussion at turnkeylinux/tracker#2111. (same comment going also to the odoo 16 focused PR) |
Author
|
I Think 18 is already stable enought. OCA has migrated almost everything there. Shouldnt be a problem 18. Ifsomeone wants 16 just use TKL18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade Odoo appliance from v16 to v18
Summary
This PR upgrades the Odoo TurnKey appliance from Odoo 16 (Debian backports) to Odoo 18 (official nightly repository), with production-optimized configuration and WebSocket support.
What changed
Installation source
odoo-16package frombookworm-backportsodoopackage fromhttps://nightly.odoo.com/18.0/nightly/deb/apt-get upgradeNew features
mod_proxy_wstunnel— required for Odoo 18 live chat, Discuss module, and real-time notifications/opt/odoo/custom-addons— makes it easy to install OCA modules without touching system pathsConfiguration improvements (
odoo.conf)proxy_mode = True— proper header handling behind Apacheworkers = 2— multi-process mode (enables gevent for WebSocket)gevent_port = 8072— dedicated port for WebSocket/longpollinglogrotate = TrueApache config
ProxyPass /websocket ws://127.0.0.1:8072/websocketfor WebSocketX-Forwarded-ProtoandX-Forwarded-PortheadersInithook (
odoo.py)pbkdf2_sha512password hashingsystemctl restart odooafter password change to ensure it takes effectRequirements met
Testing
Tested via Docker container simulating the TurnKey build process:
TurnkeylinuxExamplecreated with base modules/websocket) respondsapt-get upgradeupdates Odoo from nightly repoFuture considerations
Related
Special thanks to @JedMeister and @UncleDan for the existing v18.x appliance work.
Contribution by Marcos Méndez @ POPSOLUTIONS