Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1476 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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. 

Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 24
1327
4
thg 7 25
358
1
thg 7 25
1653
4
thg 4 25
11953
1
thg 2 25
3374