Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
@ -0,0 +1,7 @@ |
|||||
|
Changelog |
||||
|
========= |
||||
|
|
||||
|
`10.0.2.0.0` |
||||
|
------------ |
||||
|
- Fixed Crash Issue on Un-installing. |
||||
|
|
@ -1,3 +1,4 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
|
|
||||
from . import models |
from . import models |
||||
|
|
||||
|
@ -1,54 +0,0 @@ |
|||||
odoo.define('odoo-debrand.title', function(require) { |
|
||||
var core = require('web.core'); |
|
||||
var utils = require('web.utils'); |
|
||||
var QWeb = core.qweb; |
|
||||
var _t = core._t; |
|
||||
var ajax = require('web.ajax'); |
|
||||
var Dialog = require('web.Dialog'); |
|
||||
var WebClient = require('web.AbstractWebClient'); |
|
||||
var CrashManager = require('web.CrashManager'); |
|
||||
var Model = require('web.Model'); |
|
||||
WebClient.include({ |
|
||||
init: function(parent) { |
|
||||
this.client_options = {}; |
|
||||
this._super(parent); |
|
||||
this.origin = undefined; |
|
||||
this._current_state = null; |
|
||||
this.menu_dm = new utils.DropMisordered(); |
|
||||
this.action_mutex = new utils.Mutex(); |
|
||||
var self = this; |
|
||||
new Model("website").call("search_read",[[], ['company_name']]).then(function (res) { |
|
||||
self.set('title_part', {"zopenerp": res && res[0] && res[0].company_name || ''}); |
|
||||
}); |
|
||||
}, |
|
||||
}); |
|
||||
CrashManager.include({ |
|
||||
show_warning: function(error) { |
|
||||
if (!this.active) { |
|
||||
return; |
|
||||
} |
|
||||
new Dialog(this, { |
|
||||
size: 'medium', |
|
||||
title: (_.str.capitalize(error.type) || _t("Warning")), |
|
||||
subtitle: error.data.title, |
|
||||
$content: $('<div>').html(QWeb.render('CrashManager.warning', {error: error})) |
|
||||
}).open(); |
|
||||
}, |
|
||||
show_error: function(error) { |
|
||||
if (!this.active) { |
|
||||
return; |
|
||||
} |
|
||||
new Dialog(this, { |
|
||||
title: _.str.capitalize(error.type), |
|
||||
$content: QWeb.render('CrashManager.error', {error: error}) |
|
||||
}).open(); |
|
||||
}, |
|
||||
show_message: function(exception) { |
|
||||
this.show_error({ |
|
||||
type: _t("Client Error"), |
|
||||
message: exception, |
|
||||
data: {debug: ""} |
|
||||
}); |
|
||||
}, |
|
||||
}); |
|
||||
}); |
|
@ -1,41 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<templates id="template" xml:space="preserve"> |
|
||||
<t t-extend="UserMenu"> |
|
||||
<t t-jquery="ul.dropdown-menu" t-operation="replace"> |
|
||||
<ul class="dropdown-menu" role="menu"> |
|
||||
<li class="divider"/> |
|
||||
<li><a href="#" data-menu="settings">Preferences</a></li> |
|
||||
<li><a href="#" data-menu="logout">Log out</a></li> |
|
||||
</ul> |
|
||||
</t> |
|
||||
</t> |
|
||||
<!--<t t-extend="AppSwitcher.Content">--> |
|
||||
<!--<t t-jquery="div.o_application_switcher_footer" t-operation="replace">--> |
|
||||
<!--<img src="" width="96px" />--> |
|
||||
<!--</t>--> |
|
||||
<!--</t>--> |
|
||||
<t t-extend="DashboardMain"> |
|
||||
<t t-jquery=".o_web_settings_dashboard" t-operation="replace"> |
|
||||
<div class="container-fluid o_web_settings_dashboard"> |
|
||||
<div class="row"> |
|
||||
<div class="o_web_settings_dashboard_enterprise"/> |
|
||||
<div class="col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col"> |
|
||||
<div class="text-center o_web_settings_dashboard_invitations"></div> |
|
||||
<div class="col-md-12"> |
|
||||
<a t-if="debug != true" class="oe_activate_debug_mode pull-right" href="?debug" >Activate the developer mode</a> |
|
||||
<br t-if="debug != true"/> |
|
||||
<a t-if="debug != 'assets'" class="oe_activate_debug_mode pull-right" href="?debug=assets" >Activate the developer mode (with assets)</a> |
|
||||
<br t-if="debug != 'assets'"/> |
|
||||
<a t-if="debug != false" class="oe_activate_debug_mode pull-right" href="/web" >Deactivate the developer mode</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</t> |
|
||||
</t> |
|
||||
<t t-extend="mail.client_action"> |
|
||||
<t t-jquery=".o_mail_request_permission" t-operation="inner"> |
|
||||
Your permission is required to <a href="#"> enable desktop notifications</a>. |
|
||||
</t> |
|
||||
</t> |
|
||||
</templates> |
|
@ -1,22 +0,0 @@ |
|||||
<openerp> |
|
||||
<data> |
|
||||
<!-- <template id="listing"> --> |
|
||||
<!-- <ul> --> |
|
||||
<!-- <li t-foreach="objects" t-as="object"> --> |
|
||||
<!-- <a t-attf-href="#{ root }/objects/#{ object.id }"> --> |
|
||||
<!-- <t t-esc="object.display_name"/> --> |
|
||||
<!-- </a> --> |
|
||||
<!-- </li> --> |
|
||||
<!-- </ul> --> |
|
||||
<!-- </template> --> |
|
||||
<!-- <template id="object"> --> |
|
||||
<!-- <h1><t t-esc="object.display_name"/></h1> --> |
|
||||
<!-- <dl> --> |
|
||||
<!-- <t t-foreach="object._fields" t-as="field"> --> |
|
||||
<!-- <dt><t t-esc="field"/></dt> --> |
|
||||
<!-- <dd><t t-esc="object[field]"/></dd> --> |
|
||||
<!-- </t> --> |
|
||||
<!-- </dl> --> |
|
||||
<!-- </template> --> |
|
||||
</data> |
|
||||
</openerp> |
|