Skip to Content
Menu
This question has been flagged
1 Atsakyti
2401 Rodiniai

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?


Portretas
Atmesti
Autorius 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})
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
4
kov. 24
6597
0
kov. 24
1850
0
spal. 22
2656
0
vas. 24
152
0
gruod. 23
1034