Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.0.3
Category
Partner Management
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 08:42:56
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Iván Todorovich, eduardo, Weblate, OCA-git-bot, oca-ci, cristina-hidalgo-tecnativa
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds the use of properties in partners (different for
companies and individuals).

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_kanban_view res.partner.kanban res.partner kanban Inherits base.res_partner_kanban_view
view_partner_form res.partner.form res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (2)
  • partner_properties_definition_company PropertiesDefinition
    compute='_compute_partner_properties_definition_company' inverse='_inverse_partner_properties_definition_company' search='_search_partner_properties_definition_company' string='Partner Properties (company)'
  • partner_properties_definition_person PropertiesDefinition
    compute='_compute_partner_properties_definition_person' inverse='_inverse_partner_properties_definition_person' search='_search_partner_properties_definition_person' string='Partner Properties (person)'
Public methods (1)
  • web_search_read(self, domain, specification, offset=0, limit=None, order=None, count_limit=None)
    @api.model
    Override the method to return the "appropriate" company if searched by any of the fields. This method is used to display the search fields (Add custom filter), the properties in the partners are multi-company, and the domain [("partner_properties_definition_company", "!=', False)] would return all the companies, in that case the data of the last company would be displayed, which would be totally confusing. Example: Existing companies: Company A + Company B + Company C Selected company: Company A Now it will show: Property custom (Company A).

New fields (3)
  • properties_company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_properties_company_id' search='_search_properties_company_id'
  • properties_type_company Properties
    copy=True definition='properties_company_id.partner_properties_definition_company'
  • properties_type_person Properties
    copy=True definition='properties_company_id.partner_properties_definition_person'
Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
92 days ago
Last activity
59 days ago
Repository
OCA/partner-contact
Pull request
[19.0][MIG] partner_property: Migration to 19.0 (#2358)