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

User A looks at a group message flow. User B writes a message to the same group. User A does not see this message. Is there no auto-refresh? Are users expected to hit F5 to see new messages?

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

Try, In action of your object (XML file)

<field name="auto_refresh" eval="10"/>

Hope this work for you.

Ảnh đại diện
Huỷ bỏ
Tác giả

HI, thank you Ghanshyam - I do not mean a custom module, I was asking about the messaging system that comes out of the box with OpenERP. Is it possible to activate the auto_refresh for this? If I change the source I think I need to make it a custom module... well, I think this is overhead for this kind of basic funtionality that every user could need - so maybe better put this in the main OpenERP source, if not available? It´s really a basic feature - work collegues will say "oh, but there was nothing new, so I did not see your message and went home..." - I mean really basic :)

Tác giả

Hmm, this seems to be not a bug, but default behavior? I am totally baffled - after fighting with backend installation stuff etc. I totally focussed on more advanced technical issues and did not even consider that these kind of features could be absent in OpenERP. So all you OpenERP powerusers are pressing F5 like 10.000 times a day? I can not believe this. But I did not find any hint in the sources for usage of HTML5 History/State APIs - e.g. like https://github.com/browserstate/history.js I hope I am totally wrong on this...

Tác giả

Where do I have to put the <field name="auto_refresh" eval="10"/> to get it working for existing messaging features (groups, inbox, etc.)?

You have to put this in your action of your object ( View XML File).

Câu trả lời hay nhất

you can try my new module https://github.com/szufisher/web/tree/8.0/web_auto_refresh

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

Hi, Ghanshyam Prajapati 

 

I also looking for this solution as well, could you please advice a bit more in detail how to put this code to make message auto refresh.

Ảnh đại diện
Huỷ bỏ

try Scheduled Action in settings - configure your needs

Câu trả lời hay nhất

hi,

this codes doesn't work on my system.. any other suggestion please...

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
7
thg 1 24
14460
2
thg 10 15
8459
2
thg 5 24
2149
3
thg 4 23
11624
1
thg 4 23
14633