Creating fields

After creating a new model, the next step is to add fields to it. Odoo supports all the basic data types expected, such as text strings, integers, floating point numbers, Booleans, dates, date-times, and image/binary data.

Some field names are special, either because they are reserved by the ORM for special purposes, or because some built-in features make use of some default field names.

Let's explore the several types of field available in Odoo.

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.