跳至内容
菜单
此问题已终结
1 回复
25571 查看

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.

形象
丢弃