İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2389 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Mar 24
6594
0
Mar 24
1838
0
Eki 22
2641
0
Şub 24
152
0
Ara 23
1033