Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4294 Lượt xem

Good Morning,


I would like to know if there is any way to indicate the progress of a process in odoo 8. The problem is that when doing a loop that takes about an hour you do not know if it is really progressing or not, so I would like to indicate the progress. The only thing I have seen is to print in the log the iteration number but I would be interested to have it appear in the browser.


Thanks in advance.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

just add widget="progressbar" in your xml

example:

<field name="your_field" widget="progressbar"/>
Ảnh đại diện
Huỷ bỏ

I think what Carlos want is to show the progress of a task while the screen is locked, like show the percentage while the screen got the loading animation, if you do it with a field it will show 0% and when the task finish 100%