Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2412 Представления

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
6601
0
мар. 24
1861
0
окт. 22
2674
0
февр. 24
152
0
дек. 23
1041