Skip to content
Health
64/100
fair
  • Security19/25
    2 minor findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 18.0

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

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

Description

Note on Compatibility: The Odoo official Partner Autocomplete module (partner_autocomplete) will override the functionality of this module if installed.

Dependencies

Odoo dependencies
OCA/connector:
OCA/queue:
odoo/odoo:
- web
- bus
Python dependencies
requests, cachetools
System dependencies
None
Required by
l10n_fi_partner_autocomplete_oca_opendata

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
view_autocomplete_backend_form autocomplete.backend.form autocomplete.backend form New
view_autocomplete_backend_tree autocomplete.backend.tree autocomplete.backend list New
view_partner_form_inherit_partner_autocomplete_oca view.partner.form.inherit.partner.autocomplete.oca res.partner form Inherits base.view_partner_form

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/partner_autocomplete_oca/search_company_data OCAAutocompleteController.search_company_data user json POST sudo

Models touched 3

New fields (8)
  • api_key Char
    string='Api Key'
  • available_country_ids Many2many → res.country
    compute='_compute_available_countries' store=False string='Available Countries' args: 'res.country'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> help='The Company associated with this Autocomplete Backend.' required=True string='Company'
  • country_environment_id Many2one → autocomplete.country.environment
    domain="[('country_id', '=', default_country_id)]" help='Select the data environment available for the chosen country.' required=True string='Environment Type' args: 'autocomplete.country.environment'
  • default_country_id Many2one → res.country
    comodel_name='res.country' domain="[('id', 'in', available_country_ids)]" help='The specific country configured for this Autocomplete backend. The backend will only return results relevant to this country.' required=True string='Country'
  • environment_type_code Selection
    readonly=True related='country_environment_id.environment_type' string='Environment Type Code'
  • is_country_active Boolean
    default=False help="Sets this backend as the default fallback for OCA's Partner Autocomplete. If no country is specified in the search, this value will be used instead. Only one backend can be set as the active default at any time." string='Default'
  • name Char
    help='Differentiate between your Connections saved in Odoo.' string='Name'
Public methods (1)
  • init(self)

New fields (4)
  • country_id Many2one → res.country
    ondelete='cascade' required=True string='Country' args: 'res.country'
  • display_name Char
    compute='_compute_display_name' store=True
  • environment_type Selection
    required=True string='Environment Type' args: [('free', 'Free: Open Data'), ('paid', "Paid: IODO's Data")]
  • sequence Integer
    default=10
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • button_immediate_install(self)