Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2423 Weergaven

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
Annuleer
Auteur Beste antwoord

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
mrt. 24
6619
0
mrt. 24
1875
0
okt. 22
2685
0
feb. 24
152
0
dec. 23
1052