跳至內容
選單
此問題已被標幟
1 回覆
25559 瀏覽次數

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.

頭像
捨棄