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

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.

主站蜘蛛池模板: 盐津县| 双辽市| 南郑县| 长兴县| 大兴区| 永靖县| 漳平市| 武宁县| 汽车| 芒康县| 都昌县| 沅江市| 类乌齐县| 建湖县| 阳高县| 苍溪县| 遂溪县| 临夏县| 稷山县| 阿荣旗| 哈尔滨市| 衡阳市| 仲巴县| 巴彦淖尔市| 永丰县| 遂平县| 淮阳县| 古田县| 南平市| 类乌齐县| 德昌县| 从化市| 廉江市| 宁德市| 丹阳市| 南涧| 毕节市| 淄博市| 和龙市| 分宜县| 木里|