mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-10-25 07:27:39 -05:00
[FIX] IAP removeal for CRM
This commit is contained in:
1 parent
d23c0ddfc6
commit
4bc5351f00
7 files changed
+74
-2
No files matched your search
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Flectra. See LICENSE file for full copyright and licensing details.
|
||||
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Flectra. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
{
|
||||
'name': 'Flectra Enhancement for CRM',
|
||||
'version': '2.0.1.0',
|
||||
"category": "Hidden",
|
||||
"website": "https://flectrahq.com/",
|
||||
"author": "FlectraHQ",
|
||||
"license": "LGPL-3",
|
||||
'summary': 'Flectra Enhancement for CRM',
|
||||
'depends': ['crm'],
|
||||
'data': [
|
||||
'views/res_config_settings_view.xml',
|
||||
],
|
||||
'qweb': [
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
@media (max-width: 767.98px){
|
||||
.o_main_navbar > ul > li .dropdown-menu.show {
|
||||
max-height: 90vh;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<flectra>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.crm</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="priority" eval="5"/>
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='generate_lead_setting_container']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='crm_iap_lead_settings']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='crm_iap_lead_enrich']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='module_crm_iap_lead_enrich']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</flectra>
|
||||
@@ -27,5 +27,5 @@
|
||||
'qweb': [
|
||||
'static/src/xml/leads_tree_generate_leads_views.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
@@ -19,5 +19,5 @@
|
||||
'views/res_config_settings_view.xml',
|
||||
],
|
||||
'post_init_hook': '_synchronize_cron',
|
||||
'auto_install': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
@@ -25,6 +25,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<xpath expr="//div[@id='iap_portal']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='iap_portal']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='contacts_settings']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</flectra>
|
||||
Reference in new issue
Block a user