Features

Data to use in tests are store in csv files in data directory. File names are tha name of the models (table) with characters ‘.’ (dot) replaced by ‘_’ (underscore)

Header of file must be the names of table fields.

Rows can contains value to store or Odoo external reference or macro.

For type char, text, html, int, float, monetary: value are constants inserted as is.

For type many2one: value may be an integer (record id) or Odoo external reference (format “module.name”).

For type data, datetime: value may be a constant or relative date