[ADD] : Remove Phoning Home.
This commit is contained in:
parent
317220a93d
commit
d3f4a54f93
|
@ -2,6 +2,14 @@
|
||||||
<flectra>
|
<flectra>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- System Parameter for update_notification -->
|
||||||
|
|
||||||
|
<record id="config_update_notification" model="ir.config_parameter">
|
||||||
|
<field name="key">Base statistics</field>
|
||||||
|
<field name="value">True</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<!-- Thread: 1 incoming email -->
|
<!-- Thread: 1 incoming email -->
|
||||||
<record id="msg_discus5" model="mail.message">
|
<record id="msg_discus5" model="mail.message">
|
||||||
<field name="subject">Plan to install backup servers</field>
|
<field name="subject">Plan to install backup servers</field>
|
||||||
|
|
|
@ -88,6 +88,10 @@ class PublisherWarrantyContract(AbstractModel):
|
||||||
@type cron_mode: boolean
|
@type cron_mode: boolean
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
|
# Code will be execute only if parameter value 'True'
|
||||||
|
parameter_id = self.env.ref("mail.config_update_notification")
|
||||||
|
if parameter_id and parameter_id.value != 'True':
|
||||||
|
return True
|
||||||
try:
|
try:
|
||||||
result = self._get_sys_logs()
|
result = self._get_sys_logs()
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<templates id="template" xml:space="preserve">
|
|
||||||
<t t-name="WebClient.announcement_bar">
|
|
||||||
<div class="openerp" id="announcement_bar_table">
|
|
||||||
<table class="oe_webclient">
|
|
||||||
<tr>
|
|
||||||
<td colspan="2" class="announcement_bar">
|
|
||||||
<span class="message"></span>
|
|
||||||
<span class="url">
|
|
||||||
<a href="https://services.openerp.com/openerp-enterprise/ab/register" target="_blank"></a>
|
|
||||||
</span>
|
|
||||||
<span class="close"></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</t>
|
|
||||||
</templates>
|
|
|
@ -74,7 +74,7 @@ class configmanager(object):
|
||||||
self.options = {
|
self.options = {
|
||||||
'admin_passwd': 'admin',
|
'admin_passwd': 'admin',
|
||||||
'csv_internal_sep': ',',
|
'csv_internal_sep': ',',
|
||||||
'publisher_warranty_url': 'http://services.openerp.com/publisher-warranty/',
|
'publisher_warranty_url': 'http://services.flectrahq.com/publisher-warranty/',
|
||||||
'reportgz': False,
|
'reportgz': False,
|
||||||
'root_path': None,
|
'root_path': None,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue