Compare commits
1 Commits
16.0
...
16.0-deplo
Author | SHA1 | Date | |
---|---|---|---|
|
f46d339c76 |
@@ -5,14 +5,16 @@
|
||||
"name": "crm usability misc",
|
||||
"version": "16.0.1.0.0",
|
||||
"author": "Elabore",
|
||||
"website": "https://elabore.coop",
|
||||
"website": "https://git.elabore.coop/elabore/crm-tools",
|
||||
"maintainer": "Elabore",
|
||||
"license": "AGPL-3",
|
||||
"category": "CRM",
|
||||
"summary": "Various modifications of CRM app",
|
||||
# any module necessary for this one to work correctly
|
||||
"depends": [
|
||||
"base","crm","sales_team",
|
||||
"base",
|
||||
"crm",
|
||||
"sales_team",
|
||||
],
|
||||
# always loaded
|
||||
"data": [
|
||||
|
@@ -1,24 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="crm_lead_form_inherit_usability_misc" model="ir.ui.view">
|
||||
<field name="name">crm.lead.form.inherit.usability.misc</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<!-- remove chapter Marketing in page Extra Information -->
|
||||
<xpath expr="//page[@name='lead']//field[@name='campaign_id']/ancestor::group[1]" position="replace" />
|
||||
<!-- move source_id and referred fields under Tags field -->
|
||||
<xpath expr="//field[@name='tag_ids']" position="after" >
|
||||
<field name="source_id"/>
|
||||
<field name="referred"/>
|
||||
</xpath>
|
||||
<!-- move team_id under Phone field -->
|
||||
<xpath expr="//group[@name='Misc']//field[@name='team_id']" position="replace" />
|
||||
<xpath expr="//group[@name='opportunity_partner']//field[@name='lost_reason_id']" position="before" >
|
||||
<field name="team_id" options="{'no_open': True, 'no_create': True}" context="{'kanban_view_ref' : 'sales_team.crm_team_view_kanban'}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
<record id="crm_lead_form_inherit_usability_misc" model="ir.ui.view">
|
||||
<field name="name">crm.lead.form.inherit.usability.misc</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<!-- remove chapter Marketing in page Extra Information -->
|
||||
<xpath
|
||||
expr="//page[@name='lead']//field[@name='campaign_id']/ancestor::group[1]"
|
||||
position="replace"
|
||||
/>
|
||||
<!-- move source_id and referred fields under Tags field -->
|
||||
<xpath expr="//field[@name='tag_ids']" position="after">
|
||||
<field name="source_id" />
|
||||
<field name="referred" />
|
||||
</xpath>
|
||||
<!-- move team_id under Phone field -->
|
||||
<xpath
|
||||
expr="//group[@name='Misc']//field[@name='team_id']"
|
||||
position="replace"
|
||||
/>
|
||||
<xpath
|
||||
expr="//group[@name='opportunity_partner']//field[@name='lost_reason_id']"
|
||||
position="before"
|
||||
>
|
||||
<field
|
||||
name="team_id"
|
||||
options="{'no_open': True, 'no_create': True}"
|
||||
context="{'kanban_view_ref' : 'sales_team.crm_team_view_kanban'}"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
Reference in New Issue
Block a user