Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2384 มุมมอง

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?


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

records = model.search([])

for record in records:

record.write({'active':False})
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
มี.ค. 24
6594
0
มี.ค. 24
1834
0
ต.ค. 22
2641
0
ก.พ. 24
152
0
ธ.ค. 23
1030