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

Your First Odoo Application – A Practical Overview

Developing in Odoo most of the time means creating our own modules. In this chapter, we will create our first Odoo application and learn the steps needed to make it available to Odoo and install it.

Inspired by the notable http://todomvc.com/ project, we will build a simple To-Do application. It should allow us to add new tasks, mark them as completed, and finally clear the task list of all the already-completed tasks.

We will get started by learning the basics of the development workflow: we'll set up a new instance for your work, create and install a new module, and update it to apply the changes we make along with the development iterations.

Odoo follows an MVC-like architecture, and we will go through the layers during our implementation of the To-Do application:

  • The model layer, defining the structure of the app's data
  • The view layer, describing the user interface
  • The controller layer, supporting the business logic of the application

Next, we will learn how to set up access control security and, finally, we will add some descriptions and branding information to the module.

Note that the concept of the term controller mentioned here is different from the Odoo web development controllers. These are program endpoints that web pages can call to perform actions.

With this approach, you will be able to gradually learn about the basic building blocks that make up an application and experience the iterative process of building an Odoo module from scratch.

主站蜘蛛池模板: 桂平市| 麦盖提县| 黄大仙区| 长葛市| 河南省| 阜阳市| 固原市| 伽师县| 长沙市| 南城县| 阿拉善盟| 富裕县| 香格里拉县| 顺义区| 雅安市| 历史| 淅川县| 两当县| 乌拉特前旗| 谷城县| 渝中区| 尉犁县| 十堰市| 永寿县| 西和县| 三都| 绥棱县| 葫芦岛市| 新密市| 鲁山县| 稻城县| 长武县| 涟源市| 肇庆市| 龙里县| 凤山市| 杂多县| 温州市| 朝阳市| 恩平市| 睢宁县|