Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2413 Tampilan

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
Buang
Penulis Jawaban Terbai

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

records = model.search([])

for record in records:

record.write({'active':False})
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
4
Mar 24
6610
0
Mar 24
1869
0
Okt 22
2679
0
Feb 24
152
0
Des 23
1046