Smile-SA / odoo_addons

Odoo addons developed by Smile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 'user_context' not defined

foxtroot386 opened this issue · comments

module: smile_web_auto_refresh
version: 11.0

Steps to reproduce
-The error pop in my custom module (and no, before i install the auto refresh, there wasn't any error showing)
-I click an 'object' type button from a kanban view, it auto refresh the other device but after a short while it shows me the error: Uncaught TypeError: Cannot read property 'user_context' of undefined.

Triggers
Annotation 2020-03-12 154201

Current behavior
-Besides the error popping, there's nothing else gone wrong.
-Auto refresh does it's job refreshing other devices' screen on record create/update/delete
-My kanban/form button works normally too
-The issue here is not functional, it's just that the error showing up might make users feel insecure although everything works regularly

Expected behavior
-No error showing

Error details
Annotation 2020-03-12 154108