Skip to Content
Menú
This question has been flagged
1 Respondre
2377 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
4
de març 24
6594
0
de març 24
1831
0
d’oct. 22
2638
0
de febr. 24
152
0
de des. 23
1026