i'm developing a custom prestashop 1.7.x module, it has to be a theme-specific module (my-theme/modules/module) and i've followed the lineguides from the official documentation but the module display in the modules catalog only if it's located in the root/modules folder.
I've also declared the module as a theme dependency in the theme.yml configuration file, but nothing seems to happen, i'm stuck.