Hello.
I am trying to import a module on to my database in Odoo.com. I've entered everything correctly and verified the files and there's no problems in the code. However, when I try to import the module, I get errors regarding the model I'm linking the XML views to.
For example:
Error while importing module 'my_module'.
while parsing /tmp/tmpg3vj2tty/my_module/views/my_module_menus.xml:4, somewhere inside <menuitem id="my_module_submenu" name="Module Menu" parent="my_module_menu" action="my_module_action" sequence="2"/>
and:
while parsing /tmp/tmpsrcr391x/my_module/views/my_module_lists.xml:3 Error while validating view near: <list string="My Module" __validate__="1"> <field name="name"/>
Model not found: my.module
View error context: {'file': '/tmp/tmpsrcr391x/my_module/views/my_module_lists.xml', 'line': 1, 'name': 'my.module.list', 'view': ir.ui.view(3161,), 'view.model': 'my.module', 'view.parent': ir.ui.view(), 'xmlid': 'my_module_list'}
What's strange about this is that it everything works perfectly fine on my localhost server, which is where I made the module. I think it has something to do with the models but I don't know what could be wrong. How can this be fixed?