[IMP] add user switch detection and rename module

This commit is contained in:
Adrià Gil Sorribes
2019-06-04 13:17:44 +02:00
parent 48ccea132f
commit 99cdb6069f
16 changed files with 39 additions and 35 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<t t-name="web_switch_context_warning.warningWidget">
<div class="container-fluid bg-warning" style="text-align: center; display:none;">
<h3>You switched to a different user, company or database with another tab or window</h3>
<p><button onclick="location.reload(true);" class="btn">Reload</button> to refresh your session</p>
</div>
</t>
</template>