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

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..

頭像
捨棄
最佳答案

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. 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 25
2342
1
7月 25
392
1
6月 25
1031
0
5月 25
1145
2
4月 25
3141