Hi,
I'm using Prestashop 1.7.5
To use Doctrine ORM in module there is some configuration must be edited in the "Project_dir/app/config/config.yml"
orm: mappings: # define custom mapping custom_mapping: type: annotation prefix: MyModule\Entity\ # define prefix to load your entityes from dir: "%kernel.project_dir%/modules/mymodule/src/Entity" # define directory to load your entityes from is_bundle: false # this is to tell orm that this is not a symfony bundle
so now after setting up your controllers and forms , you can take advantage of the full Symfony power in developing your module.
I know this is not a perfect solution, if any one has a way to do the same thing from the inside of the module that would be great