Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2387 Vizualizări

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?


Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

records = model.search([])

for record in records:

record.write({'active':False})
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
mar. 24
6594
0
mar. 24
1837
0
oct. 22
2641
0
feb. 24
152
0
dec. 23
1033