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

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
6600
0
3月 24
1861
0
10月 22
2672
0
2月 24
152
0
12月 23
1039