Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 2 views 0 HTTP endpoints

Description

This module adds the use of properties in partners (different for companies and individuals).

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…