Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
25583 Представления

And can they be used interchangeably in some cases.

If possible to give a simple clear example.

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить