Switch to old name

This commit is contained in:
hpar
2017-10-17 10:54:46 +02:00
parent 995954da3c
commit 967d0f5489
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ odoo.define('web_switch_company_warning.widget', function (require) {
return;
}
var SwitchCompanyWarningWidget = Widget.extend({
template:'WarningWidget',
template:'web_switch_company_warning.warningWidget',
init: function() {
this._super();
var self = this;

View File

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