Skip to content

Instantly share code, notes, and snippets.

View Sinnnnak's full-sized avatar

Mohamed Elmojtaba Sinnnnak

View GitHub Profile
@Sinnnnak
Sinnnnak / uninstall_from_terminal.md
Created December 3, 2024 17:04
Uninstall modules from terminal

To uninstall modules from an Odoo database using the terminal, you can use the Odoo shell or execute SQL commands directly. Here's how to do it:


Method 1: Using Odoo Shell

  1. Launch the Odoo shell:
    ./odoo-bin shell -d <your_database_name>
@Sinnnnak
Sinnnnak / odoo_wkhtmltopdf.md
Last active November 3, 2025 16:53
Fix Wkhtmltopdf Issues in Odoo PDF Reports on Ubuntu 22.04

Fixing Missing Headers, Footers, and Logos in Odoo PDF Reports on Ubuntu 22.04

Problem Description

While generating PDF reports in Odoo on Ubuntu 22.04, you might face issues such as:

  • Missing or incomplete headers and footers
  • Logos not appearing in reports
  • Mixed content rendering errors

This problem often stems from the wkhtmltopdf version (wkhtmltox_0.12.6-1) installed on your system, which lacks the required Qt patching to handle these features properly. This version is known to cause compatibility issues on Ubuntu 22.04.