TIP: You can type at any time to perform a new search.
OCA's Partner Autocomplete
partner_autocomplete_oca · OCA/l10n-finland
- Repository
- OCA/l10n-finland · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.05 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 08:43:06
- Authors
- Odoo Community Association (OCA) Finland
- Maintainers
- Odoo Community Association (OCA) Finland
- Committers
- OCA-git-bot, jusle
- Odoo dependencies
- Python dependencies
- requests, cachetools
- System dependencies
- None
- Required by
- l10n_fi_partner_autocomplete_oca_opendata
- Description
Note on Compatibility: The Odoo official Partner Autocomplete module (partner_autocomplete) will override the functionality of this module if installed.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/partner_autocomplete_oca/search_company_data |
OCAAutocompleteController.search_company_data |
user | json | POST | sudo |
Models touched (3)
New fields (8)
-
api_keyCharstring='Api Key' -
available_country_idsMany2many → res.countrycompute='_compute_available_countries'store=Falsestring='Available Countries' args: 'res.country' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>help='The Company associated with this Autocomplete Backend.'required=Truestring='Company' -
country_environment_idMany2one → autocomplete.country.environmentdomain="[('country_id', '=', default_country_id)]"help='Select the data environment available for the chosen country.'required=Truestring='Environment Type' args: 'autocomplete.country.environment' -
default_country_idMany2one → res.countrycomodel_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=Truestring='Country' -
environment_type_codeSelectionreadonly=Truerelated='country_environment_id.environment_type'string='Environment Type Code' -
is_country_activeBooleandefault=Falsehelp="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' -
nameCharhelp='Differentiate between your Connections saved in Odoo.'string='Name'
-
init(self)
New fields (4)
-
country_idMany2one → res.countryondelete='cascade'required=Truestring='Country' args: 'res.country' -
display_nameCharcompute='_compute_display_name'store=True -
environment_typeSelectionrequired=Truestring='Environment Type' args: [('free', 'Free: Open Data'), ('paid', "Paid: IODO's Data")] -
sequenceIntegerdefault=10
No public methods.
New fields (0)
No new fields.
Public methods (1)-
button_immediate_install(self)