Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2397 Prikazi

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
Opusti
Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
mar. 24
6594
0
mar. 24
1844
0
okt. 22
2647
0
feb. 24
152
0
dec. 23
1033