跳至內容
選單
此問題已被標幟
2 回覆
1467 瀏覽次數

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.

頭像
捨棄
作者

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. 

最佳答案

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!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 24
1326
4
7月 25
348
1
7月 25
1653
4
4月 25
11949
1
2月 25
3374