Skip to Content
Menu
This question has been flagged
1 Reply
25554 Views

And can they be used interchangeably in some cases.

If possible to give a simple clear example.

Avatar
Discard
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
Discard