第一章:使用Odoo开发者模式快速入门

阅读(1124) 最后更新: 2019年4月15日 07:44

上一页 前言 | 技术要求 下一页

翻译进度 100%

自助翻译

Odoo提供了一个快速应用开发框架,非常适合创建商业应用。这类应用通常用于保留业务记录,增删改查操作。Odoo 不仅简化了这类应用的创建,还提供了看板、日历、图表等视图的丰富组件,用于创建好看的用户界面。


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.
本书分为五个部分,首先概述Odoo框架,建立一个开发环境,并构建我们的第一个Odoo应用程序。在大致熟悉Odoo组件的基础上,我们将更详细地研究三个主要的应用程序层-模型、业务逻辑和视图。最后,我们的应用程序需要部署到生产环境中并进行维护,这是本书最后一章所介绍的。
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.
在本章中,我们将快速进入行动,直接从Web用户界面探索Odoo内部,甚至在建立我们的本地开发环境之前。
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.
了解Odoo架构、版本和发行版,以获得与使用Odoo相关的基本上下文和见解。
Understand the Odoo architecture, editions, and releases, to have the essential context and insights relevant to working with Odoo.
准备一个基本的odoo工作环境,以便我们可以在一个示例项目上工作并通过经验学习,提出了几个选项:使用Odoo Online使用Windows全员安装程序(使用Docker启用开发人员模式),以便在用户界面中提供我们将要使用的工具。
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.

odoo技术交流2 群号 625337975

http://www.odoogo.com/post/58/Odoo开发视频教程

文档不断更新中,添加微信odoogo,获取最新视频课程和模块

留言提问