[FIX] crm: module crm_voip doesn't exist anymore

Since the refactoring of VOIP, there is no more a module crm_voip but only
voip.
This commit is contained in:
fwi-odoo
2017-09-06 15:18:19 +02:00
parent 7820d67210
commit c0ceae2f93
6 changed files with 11 additions and 25 deletions
@@ -23,6 +23,7 @@ class ResConfigSettings(models.TransientModel):
module_base_gengo = fields.Boolean("Translate Your Website with Gengo")
module_inter_company_rules = fields.Boolean("Manage Inter Company")
module_pad = fields.Boolean("Collaborative Pads")
module_voip = fields.Boolean("Asterisk (VoIP)")
company_share_partner = fields.Boolean(string='Share partners to all companies',
help="Share your partners to all companies defined in your instance.\n"
" * Checked : Partners are visible for every companies, even if a company is defined on the partner.\n"
@@ -118,7 +118,7 @@
</div>
</div>
<h2>Integrations</h2>
<div class="row mt16 o_settings_container">
<div class="row mt16 o_settings_container" name="integration">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_pad"/>
-1
View File
@@ -11,7 +11,6 @@ class ResConfigSettings(models.TransientModel):
generate_lead_from_alias = fields.Boolean('Manual Assignation of Emails')
group_use_lead = fields.Boolean(string="Leads", implied_group='crm.group_use_lead')
module_crm_phone_validation = fields.Boolean("Phone Validation")
module_crm_voip = fields.Boolean("Asterisk (VoIP)")
module_web_clearbit = fields.Boolean("Customer Autocomplete")
def _find_default_lead_alias_id(self):
@@ -77,20 +77,6 @@
</div>
</div>
</div>
<h2>Integrations</h2>
<div class="row mt16 o_settings_container">
<div class="col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_crm_voip" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label for="module_crm_voip"/>
<div class="text-muted" id="crm_voip">
Schedule &amp; make calls from CRM app
</div>
</div>
</div>
</div>
</div>
</xpath>
</field>
@@ -2646,10 +2646,10 @@ QUnit.module('basic_fields', {
});
QUnit.test('phone field in form view on normal screens', function (assert) {
// The behavior of this widget is completely altered by crm_voip so this
// test is irrelevant and fails if crm_voip is installed. The enterprise
// The behavior of this widget is completely altered by voip so this
// test is irrelevant and fails if voip is installed. The enterprise
// module is responsible for testing its own behavior in its own tests.
if ('crm.voip' in odoo.__DEBUG__.services) {
if ('voip.user_agent' in odoo.__DEBUG__.services) {
assert.expect(0);
return;
}
@@ -2701,10 +2701,10 @@ QUnit.module('basic_fields', {
});
QUnit.test('phone field in editable list view on normal screens', function (assert) {
// The behavior of this widget is completely altered by crm_voip so this
// test is irrelevant and fails if crm_voip is installed. The enterprise
// The behavior of this widget is completely altered by voip so this
// test is irrelevant and fails if voip is installed. The enterprise
// module is responsible for testing its own behavior in its own tests.
if ('crm.voip' in odoo.__DEBUG__.services) {
if ('voip.user_agent' in odoo.__DEBUG__.services) {
assert.expect(0);
return;
}
+3 -3
View File
@@ -3584,10 +3584,10 @@ QUnit.module('Views', {
});
QUnit.test('navigation with tab key in readonly form view', function (assert) {
// The behavior of the phone widget is completely altered by crm_voip so
// this test fails if crm_voip is installed. The enterprise module is
// The behavior of the phone widget is completely altered by voip so
// this test fails if voip is installed. The enterprise module is
// responsible for testing its own behavior in its own tests.
if ('crm.voip' in odoo.__DEBUG__.services) {
if ('voip.user_agent' in odoo.__DEBUG__.services) {
assert.expect(0);
return;
}