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

Hello, I have the applications "Documents" and "Odoo studio" installed.

In "Documents" i have created several workspaces, i want to archive a document automatically via automated actions if the document has certain criteria. Is there a way to do so without the need for developpement and only with ODOO Studio?


頭像
捨棄
作者 最佳答案

I found a way to do it with the following python code:

records = model.search([])

for record in records:

record.write({'active':False})
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
3月 24
6599
0
3月 24
1857
0
10月 22
2664
0
2月 24
152
0
12月 23
1037