mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Switch to old name
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user