Skip to Content
Menu
This question has been flagged
1 Odpoveď
2414 Zobrazenia

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?


Avatar
Zrušiť
Autor Best Answer

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
mar 24
6610
0
mar 24
1870
0
okt 22
2679
0
feb 24
152
0
dec 23
1046