Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2388 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
mar 24
6594
0
mar 24
1837
0
ott 22
2641
0
feb 24
152
0
dic 23
1033