In relational fields, we can have some additional control as to what the user can do. By default, the user can create new records from these fields (also known as "quick create") and open the related record form. This can be disabled using the options field attribute:
options="{'no_open': True, 'no_create': True}"
The context and domain are also field attributes and are particularly useful on relational fields.
The context can define the default values for the related records, and the domain can limit the selectable records. A common example is for a field to have the selection options depend on the value of another field. A field's domain can be defined directly in the Model, but it can also be overridden in the View.