Skip to Content
मेन्यू
This question has been flagged
1 Reply
2399 Views

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
Discard
Author 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})
Avatar
Discard
Related Posts Replies Views Activity
4
मार्च 24
6595
0
मार्च 24
1850
0
अक्तू॰ 22
2655
0
फ़र॰ 24
152
0
दिस॰ 23
1034