0

I am new to Odoo.sh. When I use the editor to create a new module using the scaffold command

odoo-bin scaffold shelter

The module is named shelter, however, when I try to update current module, it shows warning:

odoo.modules.loading: invalid module names, ignored: shelter 

When i connect to the build, I was not able to see the new module I build under apps. Anyone know where the problem is?

Question updated: In odoo sh, under odoo folder, tried the update all module command

In terminal, the warning shown above went away. However, still no module found named "shelter" after I activate the dev mode and update the apps list. no module found

Value of conf file listed: conf file list

Brian Zhu
  • 1
  • 1
  • did you make update the module list from the odoo backend interface?? – kerbrose Aug 18 '20 at 21:30
  • Yes, the warning occurred when i update the current module in editor is: odoo.modules.loading: invalid module names, ignored: shelter – Brian Zhu Aug 19 '20 at 00:26
  • I tried the "update all modules" from odoo backend, and the warning goes away but I'm still not able to see my module. – Brian Zhu Aug 19 '20 at 00:41
  • could you run this command inside odoo folder & update the your question with the result, also please list the value of the conf file `find -maxdepth 2 -type d -ls` – kerbrose Aug 19 '20 at 11:15
  • hi Kerbrose, Thanks for the help. I also tried to create a different branch. Same problem still exists. I pretty much don't know what to try next. – Brian Zhu Aug 19 '20 at 20:40
  • first of all make sure that your module `shelter` is located under `odoo/addons/` or if it is in another directory it must be add to configuration file with values like ``` addons_path = ~/odoo/odoo/addons,~/odoo/addons,~/shelter/ ``` the past command you used it in the wrong location. I need you to use it in the correct one – kerbrose Aug 19 '20 at 22:12
  • Hi Kerbrose, Thanks for the help, the module showed up after I put my module folder under odoo/addons. – Brian Zhu Aug 20 '20 at 00:44
  • I have the same issue. Can anyone help? – Leon Nguyen Dec 10 '20 at 13:05

1 Answers1

1

well The user is answered in comments. so I am adding the answer for documentation purpose.

when scaffolding a new module make sure that it is added in addon path or listed in odoo configuration file.

kerbrose
  • 1,095
  • 2
  • 11
  • 22