Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2392 Ansichten

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
Verwerfen
Autor Beste Antwort

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
März 24
6594
0
März 24
1839
0
Okt. 22
2641
0
Feb. 24
152
0
Dez. 23
1033