Browse Source

Switch to old name

pull/722/head
hpar 7 years ago
parent
commit
967d0f5489
  1. 2
      web_switch_company_warning/static/src/js/switch_company_warning.js
  2. 2
      web_switch_company_warning/static/src/xml/switch_company_warning.xml

2
web_switch_company_warning/static/src/js/switch_company_warning.js

@ -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;

2
web_switch_company_warning/static/src/xml/switch_company_warning.xml

@ -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>

Loading…
Cancel
Save