I have my custom module which has only security folder contains XML file and manifest file then view folder which has xml file.
Do I need to put init file even if I don't have models folder in my module?
My custom module couldn't be installed. It shows error as "no module named" error odoo.
Any help must be appreciatable.
I couldn't find anything inside Odoo docs but according to an answer on Odoo forum right here - __init__.py is always necessary.
I believe it is Python requirement. Odoo modules are also Python packages, and init is required for package discovery. More on that here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With