This is the documentation for older versions of Odoo (formerly OpenERP).

See the new Odoo user documentation.

See the new Odoo technical documentation.

Data Loading

在 OpenERP 安装的时候, 创建和填充数据库是必须的两个步骤:

  1. 创建 SQL 表

  2. 插入不同的数据到表中


Into OpenERP, all the logic of the application is stored in the database. We find for example:

  • reports的定义,

  • the object default values,

  • the form description of the interface client,

  • the relations between the menu and the client buttons, ...

There must be a mechanism to describe, modify and reload the different data. These data are represented into a set of XML files that can possibly be loaded during start of the program in order to fill in the tables.