Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2416 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
bře 24
6612
0
bře 24
1871
0
říj 22
2679
0
úno 24
152
0
pro 23
1047