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

Quick Start Using the Developer Mode

Odoo provides a rapid application development framework that's particularly suited to building business applications. This type of application is usually concerned with keeping business records, centered around create, read, update, and delete (CRUD) operations. Not only does Odoo makes it easy to build this type of application, it also provides rich components to create compelling user interfaces, such as kanban, calendar, and graph views.

This book is organized into five parts. We start by providing an overview of the Odoo framework, setting up a development environment, and building our first Odoo application. Being generally familiar with the main Odoo components, we will dive, in more detail, into each of the three main application layers—models, business logic, and views. Finally, our application will need to be deployed to a production environment and maintained. That's what is covered in the final chapter of the book.

In this chapter, we will quickly get into the action, exploring the Odoo internals directly from the web user interface, even before having set up our local development environment.

In this chapter, we will do the following:

  • Introduce the learning project used in this chapter, the to-do application.
  • Understand the Odoo architecture, editions, and releases, to have the essential context and insights relevant to working with Odoo.
  • Prepare a basic Odoo work environment, so that we can work on an example project and learn by experience. Several options are proposed:
    • Using Odoo online
    • Using the Windows all-in-one installer
    • Using Docker
  • Enable the developer mode, to make available in the user interface the tools we will be using.
  • Modify an existing model to add a field, a quick introduction to a common customization.
  • Create a custom data model, to add new data structures for your applications.
  • Configure access security, to allow specific user groups to access the application features.
  • Create menu items, to make the new data model available in the user interface.
  • Create list, form, and search views, the basic building blocks for the user interface.

We will learn by example, and the next section will introduce the project we will use for this.

主站蜘蛛池模板: 兴宁市| 河池市| 梅州市| 桦甸市| 永平县| 日喀则市| 石台县| 华蓥市| 泸州市| 盖州市| 迭部县| 仙居县| 四会市| 县级市| 正阳县| 定陶县| 京山县| 仁化县| 玉环县| 古田县| 宁远县| 运城市| 正安县| 阆中市| 合山市| 洛阳市| 宁晋县| 长治市| 平昌县| 万盛区| 万山特区| 锡林浩特市| 江华| 循化| 南城县| 富源县| 安图县| 鹤峰县| 香港| 潜山县| 枝江市|