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

Hi, 

I have been working on Odoo for now almost three months, I got to know how the Model and View part of MVC applies to Odoo, but still wondering how the Controller part of MVC exists in Odoo server. Can anyone with perfect knowledge of Odoo helps me to understand this. Thanks for your consideration..

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Take look at default basic module structure, created through scaffolding (see scaffolding), you may get some insight... 
you can create new module named "test_module" through scaffolding, using following command:

./odoo.py scaffold test_module

then go to the newly created "test_module" module directory and take look of initial structure of module proposed by Odoo. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
3155
2
thg 8 25
3344
1
thg 7 25
1510
1
thg 8 25
1152
0
thg 5 25
1862