コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2381 ビュー

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
6594
0
3月 24
1833
0
10月 22
2641
0
2月 24
152
0
12月 23
1029