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

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.

主站蜘蛛池模板: 安西县| 鹤峰县| 静安区| 台南市| 屏东县| 石嘴山市| 清水县| 平远县| 黑龙江省| 赫章县| 博客| 岐山县| 丰城市| 关岭| 景宁| 新余市| 丹巴县| 云霄县| 武功县| 涟源市| 巢湖市| 岑巩县| 丘北县| 锦州市| 苍南县| 广河县| 陵水| 丁青县| 高州市| 南平市| 柳河县| 安泽县| 金阳县| 北辰区| 鹤山市| 藁城市| 江门市| 承德市| 来安县| 阿拉善右旗| 西平县|