Smile-SA / odoo_addons

Odoo addons developed by Smile
GNU Affero General Public License v3.0
285 stars 304 forks source link

Error 'user_context' not defined #75

Open foxtroot386 opened 4 years ago

foxtroot386 commented 4 years ago

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