콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2461 화면

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})
아바타
취소
관련 게시물 답글 화면 활동
4
3월 24
6728
0
3월 24
1900
0
10월 22
2716
0
2월 24
152
0
12월 23
1143