Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.36 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 09:06:26
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, Muaaz Siddiq
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
crm_industry
Description
This module adds secondary industries for partners.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.partner_partner_industry_secondary res.config.settings form Inherits base.res_config_settings_view_form
res_partner_industry_view_form Industry res.partner.industry form Inherits base.res_partner_industry_view_form
res_partner_industry_view_tree Industry res.partner.industry list Inherits base.res_partner_industry_view_tree
view_partner_form_industry Partner form with industry res.partner form Inherits base.view_partner_form
view_partner_tree_industry Partner tree with industry res.partner tree Inherits base.view_partner_tree
view_res_partner_filter_industry Partner search with industry res.partner Inherits base.view_res_partner_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • group_use_partner_industry_for_person Boolean
    help='Set if you want to be able to use industries for individuals also.' implied_group='partner_industry_secondary.group_use_partner_industry_for_person' string='Use industry for individuals'
Public methods (0)

No public methods.

New fields (3)
  • industry_id Many2one
    string='Main Industry'
  • secondary_industry_ids Many2many → res.partner.industry
    comodel_name='res.partner.industry' domain="[('id', '!=', industry_id)]" string='Secondary Industries'
  • show_partner_industry_for_person Boolean
    compute='_compute_show_partner_industry_for_person'
Public methods (0)

No public methods.

New fields (5)
  • child_ids One2many → res.partner.industry
    comodel_name='res.partner.industry' inverse_name='parent_id' string='Children'
  • display_name Char
    recursive=True
  • name Char
    required=True
  • parent_id Many2one → res.partner.industry
    comodel_name='res.partner.industry' ondelete='restrict'
  • parent_path Char
    index=True
Public methods (1)
  • copy(self, default=None)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…