Skip to content

fix(odoo): ensure lxml html clean after Odoo deb install - #14852

Closed
michelroegl-brunner wants to merge 2 commits into
mainfrom
fix/odoo-lxml-html-clean-14780
Closed

fix(odoo): ensure lxml html clean after Odoo deb install#14852
michelroegl-brunner wants to merge 2 commits into
mainfrom
fix/odoo-lxml-html-clean-14780

Conversation

@michelroegl-brunner

@michelroegl-brunner michelroegl-brunner commented Jun 1, 2026

Copy link
Copy Markdown
Member

✍️ Description

Ensures python3-lxml-html-clean is present and verified after the Odoo nightly .deb is installed, not only before it. Adds apt-get install -f for manual .deb installs on Bookworm and a Python import check so install/update fails loudly instead of leaving a broken odoo service.

🔗 Related Issue

Fixes #14780

✅ Prerequisites

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to script metadata (PocketBase/website data).
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

michelroegl-brunner and others added 2 commits June 1, 2026 10:19
After update, the frontend was not rebuilt while nginx still served /opt/fireshare/app/client/build, causing 500 errors. Match install behavior with npm install and npm run build.

Fixes #14812

Co-authored-by: Cursor <cursoragent@cursor.com>
Re-apply and verify python3-lxml-html-clean after the nightly Odoo package is installed so lxml.html.clean is available at runtime.

Fixes #14780

Co-authored-by: Cursor <cursoragent@cursor.com>
@michelroegl-brunner
michelroegl-brunner requested a review from a team as a code owner June 1, 2026 08:35
@github-actions github-actions Bot added bugfix update script A change that updates a script labels Jun 1, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix update script A change that updates a script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Odoo] lxml clean error

1 participant