Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2394 Переглядів

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})
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
бер. 24
6594
0
бер. 24
1840
0
жовт. 22
2644
0
лют. 24
152
0
груд. 23
1033