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

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.

主站蜘蛛池模板: 阜宁县| 宁南县| 陆良县| 咸宁市| 道真| 新建县| 富源县| 巴彦县| 定西市| 孝义市| 颍上县| 全椒县| 亚东县| 泾源县| 武义县| 台前县| 东乡县| 金湖县| 页游| 曲周县| 顺义区| 旌德县| 布尔津县| 望都县| 遂平县| 柳林县| 乐安县| 高要市| 临桂县| 锦屏县| 马龙县| 克拉玛依市| 虞城县| 利辛县| 苍梧县| 徐汇区| 阿城市| 东丽区| 大港区| 比如县| 灵武市|