* fresh setup of odoo 11.0 (community) installed from the DEB file on Ubuntu 16.04
* odoo runs without error ; i installed some modules including "base import module"
* my work directory is added to /etc/odoo/odoo.conf : addons_path = /home/olivier/Projects/odoo , and I restarted odoo.
* in my work directory, I created a module with "odoo scaffold <mymodule>"
* when I try to import it with "odoo deploy <mymodule> --login XXX --password XXX", I get
Error while importing module '<mymodule>': ''
This may be normal as the module is nearly empty, but even when I uncomment stuff in the generated code, I still get the same meaningless error message : '' ; the server logs are not more helpful (error with self._import_module(mod_name, path, force=force) in ir_module.py).
How can I debug this ? i.e. how can I enable logs ?
Bonus question : are "scaffolded" modules supposed to be deployable (even if they don't do anything) ? Should I try to start from a kind of "hello world" module instead ?