Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2662 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
7018
0
Mar 24
2061
0
Okt 22
2877
0
Feb 24
152
0
Des 23
1287