Skip to Content
Menú
This question has been flagged
1 Respondre
25566 Vistes

And can they be used interchangeably in some cases.

If possible to give a simple clear example.

Avatar
Descartar
Best Answer

Domain: Filters the records that are displayed or processed.
Example: [('state', '=', 'done')] to show only records with the state "done".

Context: Passes specific parameters or information.
Example: {'default_name': 'Test'} to pre-fill a field during record creation.

Avatar
Descartar