CRM with Department Categorization

crm_department
REPOSITORY
REPOSITORYOCA/department
GIT
GIThttps://github.com/OCA/department.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/department/tree/8.0/crm_department
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric Modules/CRM & SRM
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStéphane Bidoul, Daniel Reis, Stéphane Bidoul (ACSONE), Charbel Jacquin, OCA-git-bot
WEBSITE
WEBSITEhttp://camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - crm
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - sales_team
    - web_kanban_sparkline
    - email_template
    - calendar
    - web_calendar
    - board
    - fetchmail
    - hr
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
crm_case_form_view_leads CRM - Leads Form crm.lead xpath Inherits crm.crm_case_form_view_leads
crm_case_form_view_oppor Opportunities crm.lead xpath Inherits crm.crm_case_form_view_oppor
crm_case_section_view_form crm.case.section.form crm.case.section field Inherits sales_team.crm_case_section_view_form
crm_case_section_view_tree crm.case.section.tree crm.case.section xpath Inherits sales_team.crm_case_section_view_tree
crm_case_tree_view_leads Leads crm.lead xpath Inherits crm.crm_case_tree_view_leads
crm_case_tree_view_oppor Opportunities Tree crm.lead xpath Inherits crm.crm_case_tree_view_oppor
view_crm_case_leads_filter CRM - Leads Search crm.lead xpath Inherits crm.view_crm_case_leads_filter
view_crm_case_opportunities_filter CRM - Opportunities Search crm.lead xpath Inherits crm.view_crm_case_opportunities_filter
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • on_change_user(self, cr, uid, ids, user_id, context=None)
    Updates res dictionary with the department corresponding to the section
REPOSITORY
REPOSITORYOCA/department
GIT
GIThttps://github.com/OCA/department.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/department/tree/7.0/crm_department
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric Modules/CRM & SRM
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Leonardo Pistone, Daniel Reis, vrenaville, jb.eficent
WEBSITE
WEBSITEhttp://camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - crm
    - base_action_rule
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - base_status
    - process
    - email_template
    - base_calendar
    - resource
    - board
    - fetchmail
    - hr
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Add the department on Sales Team (with related field on Lead & Opportunities)
as well as the related filter and button in the search form.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
crm_case_form_view_leads CRM - Leads Form crm.lead xpath Inherits crm.crm_case_form_view_leads
crm_case_form_view_oppor Opportunities crm.lead xpath Inherits crm.crm_case_form_view_oppor
crm_case_section_view_form crm.case.section.form crm.case.section xpath Inherits crm.crm_case_section_view_form
crm_case_section_view_tree crm.case.section.tree crm.case.section xpath Inherits crm.crm_case_section_view_tree
crm_case_tree_view_leads Leads crm.lead xpath Inherits crm.crm_case_tree_view_leads
crm_case_tree_view_oppor Opportunities Tree crm.lead xpath Inherits crm.crm_case_tree_view_oppor
view_crm_case_leads_filter CRM - Leads Search crm.lead xpath Inherits crm.view_crm_case_leads_filter
view_crm_case_opportunities_filter CRM - Opportunities Search crm.lead xpath Inherits crm.view_crm_case_opportunities_filter
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_section_id(self, cr, uid, ids, section_id=False, context=None)
    Updates res dictionary with the department corresponding to the section
REPOSITORY
REPOSITORYOCA/department
GIT
GIThttps://github.com/OCA/department.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/department/tree/6.1/crm_department
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/CRM & SRM
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Alexandre Fayolle, Joël Grand-Guillaume, Alexandre Fayolle @ camptocamp
WEBSITE
WEBSITEhttp://camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - crm
    - base_action_rule
    - base
    - mail
    - base_tools
    - base_setup
    - process
    - base_calendar
    - resource
    - board
    - fetchmail
    - hr
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
    
Add the department on Sales Team (with related field on Lead & Opportunities)
as well as the related filter and button in the search form.

    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
crm_case_form_view_leads CRM - Leads Form crm.lead xpath Inherits crm.crm_case_form_view_leads
crm_case_form_view_oppor Opportunities crm.lead xpath Inherits crm.crm_case_form_view_oppor
crm_case_section_view_form crm.case.section.form crm.case.section xpath Inherits crm.crm_case_section_view_form
crm_case_section_view_tree crm.case.section.tree crm.case.section xpath Inherits crm.crm_case_section_view_tree
crm_case_tree_view_leads Leads crm.lead xpath Inherits crm.crm_case_tree_view_leads
crm_case_tree_view_oppor Opportunities Tree crm.lead xpath Inherits crm.crm_case_tree_view_oppor
view_crm_case_leads_filter CRM - Leads Search crm.lead xpath Inherits crm.view_crm_case_leads_filter
view_crm_case_opportunities_filter CRM - Opportunities Search crm.lead xpath Inherits crm.view_crm_case_opportunities_filter
Models touched (0)

No models found for this module.