首页

来自Odoo大V社-odoo中文开发手册
40709892讨论 | 贡献2016年12月11日 (日) 12:09的版本 创建Odoo用户帐户

跳转至: 导航搜索

项目概况

Odoo中文翻译项目

  1. 项目一期目标: Odoo 开发精要
  2. 项目性质:公益,保留所有参与人员的署名权;项目成果归全人类
  3. 项目使命:推倒 odoo 语言壁垒,助力 odoo 中国推广
  4. 项目成员:
    • 统筹: 广州-唐振宽 广州-黄伟杰
    • 审核:苏州-刘春涛
    • 苏州-时威
    • 苏州-庄春梅
    • 杭州-胡恒
    • 广州-陈厚源
  5. 翻译交流群:343593855(验证信息:参与odoo书籍翻译)

Getting Started with Odoo 发展

安装Odoo主机服务器

准备Debian主机

创建Odoo用户帐户

Creating a user account for Odoo

如果你正在使用有超级管理员权限的root账号登录,考虑到用root 用户运行不是一个好主意, 首先应该为你的工作创建一个普通用户账号,实际上,当你使用root用户启动odoo 服务器时, 他也会拒绝运行。

If you are logging in using the superuser root account, your first task should be to create a normal user account to use for your work, since it's considered bad practice to work as root. In particular, the Odoo server will refuse to run if you start it as the root.


If you are using Ubuntu, you probably won't need this since the installation process must have already guided you through the creation of a user.

First, make sure sudo is installed. Our work user will need it. If logged in as the root, execute the following commands:

  1. apt-get update && apt-get upgrade
  1. Install system updates
  2. apt-get install sudo
  3. Make sure 'sudo' is installed


The next set of commands will create an odoo user:

  1. useradd -m -g sudo -s /bin/bash odoo

with sudo powers

  1. Create an 'odoo' user
  2. passwd odoo
  3. Ask and set a password for the new user


You can change odoo to whatever username you may want. The -m option ensures its home directory is created. The -g sudo option adds it to the sudoers list so it can run commands as the root. The -s /bin/bash option sets the default shell to bash, which is nicer to use than the default sh.

Now we can log in as the new user and set up Odoo.

安装 Odoo 从源

正在初始化新的数据库 Odoo

管理您的数据库一词 Odoo 版本的产品更多服务器配置选项

Odoo 服务器配置文件的更改的侦听端口的数据库的过滤选项管理服务器日志消息

发展中国家从您的工作站上使用 Linux 文本编辑器的安装和配置 Samba 激活开发工具

安装第三方-模块

查找社区模块配置 addons 路径更新应用程序列表

摘要

构建您的第一次应用 Odoo

基本概念的理解应用程序和模块的修改和扩展模块创建模块基本骨架一谈许可证添加到路径中的附加软件将新的模块安装升级模块服务器的发展模式

模型层创建数据模型添加自动检测

视图层添加菜单项创建的表单视图的业务文档的表单视图中添加动作按钮使用组来组织各种形式的完整的表单视图中添加列表和搜索的意见

业务逻辑层添加业务逻辑添加测试

设置访问安全性测试访问安全添加访问控制安全行-级别的访问规则

更好地描述该模块

摘要