官术网_书友最值得收藏!

Summary

We created a new module from the start, covering the most frequently used elements in a module: models, the three basic types of views (form, list, and search), business logic in model methods, and access security. We also learned about security access control, including record rules, and how to create web pages using web controllers and QWeb templates.

In the process, we got familiar with the module development process, which involves module upgrades and application server restarts to make the gradual changes effective in Odoo.

Always remember, when adding model fields, an upgrade is needed. When changing Python code, including the manifest file, a restart is needed. When changing XML or CSV files, an upgrade is needed; also, when in doubt, do both: restart the server and upgrade the modules.

In the next chapter, you will go deeper into models, and explore everything they have for us.

主站蜘蛛池模板: 南召县| 武定县| 朝阳区| 田阳县| 若尔盖县| 衡阳县| 彭泽县| 五台县| 甘孜| 荥经县| 巩义市| 鸡泽县| 广元市| 蓝田县| 仙居县| 织金县| 明光市| 深圳市| 东丽区| 临泉县| 巫溪县| 庆云县| 江华| 泰宁县| 灵山县| 财经| 湖南省| 前郭尔| 喀喇沁旗| 安吉县| 法库县| 井冈山市| 沙雅县| 巍山| 岢岚县| 大名县| 津南区| 洛扎县| 织金县| 上蔡县| 古田县|