Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1448 Vistas

Is there an up to date tutorial on installing a custom addon on odoo.Sh? 


i see them in the development branch but not sure exactly how to push them through to production. 


I know after that I enter dev mode and update modules in the apps app but clearly missing this vital step.

Avatar
Descartar
Autor

I've successfully managed to accidentally install one so I'm getting closer. However it seems the way I did it there can be only one. Created an addons directory in git but can't seem to uninstall the one module yet. 

Mejor respuesta

Hello! Are you using GitHub or the Odoo Editor to add your custom addon?

If you’re using GitHub, push your code to the repository that Odoo created for you (you’ll find it in the top‑right corner of your odoo.sh dashboard).

If you’re using the Odoo Editor, place your custom addon under the user directory. Your folder structure should look like this:


user/ your_addon/ models/ views/ __init__.py __manifest__.py


The manifest file (__manifest__.py) is crucial—Odoo uses it to recognize your folder as an addon. Hope this helps!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 24
1322
4
jul 25
334
1
jul 25
1642
4
abr 25
11923
1
feb 25
3359