Search code examples
odoo

Odoo: Unable to install module "base_report_to_printer" because an external dependency is not met: No module named cups


I am trying to install "base_report_to_printer" module on odoo 12.0, i followed the steps in this page https://www.odoo.com/apps/modules/12.0/base_report_to_printer/

yet i still get the error below when i try installing the module

Odoo: Unable to install module "base_report_to_printer" because an external dependency is not met: No module named cups

I am using odoo 12.0 on ubuntu 18.04


Solution

  • I managed to fix it, by following this post https://www.odoo.com/fr_FR/forum/aide-1/question/11-0-how-to-install-pycups-module-on-odoo-sh-148293

    You should put cups module in your requirements.txt file Put the below line, it should work

    cups==0.0.6