This commit is contained in:
@@ -44,15 +44,13 @@ repos:
|
|||||||
# update the NOT INSTALLABLE ADDONS section above
|
# update the NOT INSTALLABLE ADDONS section above
|
||||||
- id: oca-update-pre-commit-excluded-addons
|
- id: oca-update-pre-commit-excluded-addons
|
||||||
- id: oca-fix-manifest-website
|
- id: oca-fix-manifest-website
|
||||||
args: ["https://git.elabore.coop/elabore/{REPO_NAME}"]
|
entry:
|
||||||
|
bash -c 'oca-fix-manifest-website "https://git.elabore.coop/elabore/$(basename
|
||||||
|
$(git rev-parse --show-toplevel))"'
|
||||||
- id: oca-gen-addon-readme
|
- id: oca-gen-addon-readme
|
||||||
args:
|
entry: bash -c 'oca-gen-addon-readme --addons-dir=. --branch=16.0 --repo-name=$(basename
|
||||||
- --addons-dir=.
|
$(git rev-parse --show-toplevel)) --org-name="Elabore" --if-source-changed --keep-source-digest'
|
||||||
- --branch=16.0
|
|
||||||
- --org-name=OCA
|
|
||||||
- --repo-name=helpdesk-tools
|
|
||||||
- --if-source-changed
|
|
||||||
- --keep-source-digest
|
|
||||||
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
||||||
rev: v0.1.4
|
rev: v0.1.4
|
||||||
hooks:
|
hooks:
|
||||||
|
2
crm_usability_misc/.gitignore
vendored
2
crm_usability_misc/.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
*.*~
|
*.*~
|
||||||
*pyc
|
*pyc
|
||||||
|
@@ -5,14 +5,16 @@
|
|||||||
"name": "crm usability misc",
|
"name": "crm usability misc",
|
||||||
"version": "16.0.1.0.0",
|
"version": "16.0.1.0.0",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://elabore.coop",
|
"website": "https://git.elabore.coop/elabore/crm-tools",
|
||||||
"maintainer": "Elabore",
|
"maintainer": "Elabore",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"category": "CRM",
|
"category": "CRM",
|
||||||
"summary": "Various modifications of CRM app",
|
"summary": "Various modifications of CRM app",
|
||||||
# any module necessary for this one to work correctly
|
# any module necessary for this one to work correctly
|
||||||
"depends": [
|
"depends": [
|
||||||
"base","crm","sales_team",
|
"base",
|
||||||
|
"crm",
|
||||||
|
"sales_team",
|
||||||
],
|
],
|
||||||
# always loaded
|
# always loaded
|
||||||
"data": [
|
"data": [
|
||||||
@@ -23,4 +25,4 @@
|
|||||||
# and independently installed. Used for synergetic or glue modules.
|
# and independently installed. Used for synergetic or glue modules.
|
||||||
"auto_install": False,
|
"auto_install": False,
|
||||||
"application": False,
|
"application": False,
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<record id="crm_lead_form_inherit_usability_misc" model="ir.ui.view">
|
<record id="crm_lead_form_inherit_usability_misc" model="ir.ui.view">
|
||||||
@@ -7,16 +7,29 @@
|
|||||||
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<!-- remove chapter Marketing in page Extra Information -->
|
<!-- remove chapter Marketing in page Extra Information -->
|
||||||
<xpath expr="//page[@name='lead']//field[@name='campaign_id']/ancestor::group[1]" position="replace" />
|
<xpath
|
||||||
|
expr="//page[@name='lead']//field[@name='campaign_id']/ancestor::group[1]"
|
||||||
|
position="replace"
|
||||||
|
/>
|
||||||
<!-- move source_id and referred fields under Tags field -->
|
<!-- move source_id and referred fields under Tags field -->
|
||||||
<xpath expr="//field[@name='tag_ids']" position="after" >
|
<xpath expr="//field[@name='tag_ids']" position="after">
|
||||||
<field name="source_id"/>
|
<field name="source_id" />
|
||||||
<field name="referred"/>
|
<field name="referred" />
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- move team_id under Phone field -->
|
<!-- move team_id under Phone field -->
|
||||||
<xpath expr="//group[@name='Misc']//field[@name='team_id']" position="replace" />
|
<xpath
|
||||||
<xpath expr="//group[@name='opportunity_partner']//field[@name='lost_reason_id']" position="before" >
|
expr="//group[@name='Misc']//field[@name='team_id']"
|
||||||
<field name="team_id" options="{'no_open': True, 'no_create': True}" context="{'kanban_view_ref' : 'sales_team.crm_team_view_kanban'}"/>
|
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>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
Reference in New Issue
Block a user