field_partner_autocomplete
Type a company name and this widget fills the rest of the partner record from Odoo's enrichment service. It also saves the record and posts a message, which is more than most widgets do.
September 18, 2026Updated September 18, 20264 min read
| Technical name | field_partner_autocomplete |
|---|---|
| Field types | char |
| Views | form |
| Module | partner_autocomplete, installed with most business apps |
| Used in core | 0 explicit uses in Odoo 19 Community or Enterprise. The module applies it through its own view inheritance. |
| Versions | Odoo 19.0, Odoo 20.0 |
| No-code setup | No. The service is configured in Settings, but the widget has no Studio entry. |
| Alternatives | google_address_autocomplete, char |
What the field_partner_autocomplete widget does
What this means for your team
Working examples
The widget that saves your record
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 19.0 | Verified | Verified against the shipped 19.0 source. |
| Odoo 20.0 | Verified | Verified against the 20.0 branch. No changes. |
Unchanged between the two branches we checked.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| Discard does not undo an enrichment | On res.partner the widget saves the record as part of selecting a suggestion. Correct the record and save again. There is nothing to discard because it is already written. |
| The logo is not filled on a custom model | The widget writes to image_1920 only on res.partner; on any other model it writes to a field named logo. Name the image field logo, or override the widget. |
| Suggestions are limited to one country | The query is scoped by the record's country_id by default. Use the search-worldwide path, which clears the country filter, or clear the country before searching. |
| No suggestions appear | Fewer than three characters typed, or the enrichment service is unconfigured or out of credits. Type at least three characters and check the service configuration and credit balance in Settings. |
Field_partner_autocomplete widget vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
field_partner_autocomplete | Creating a company record from just its name | Fills the whole record, and on res.partner saves it and posts to the chatter |
| google_address_autocomplete | Parsing an address the user already has | Searches addresses in Google Places rather than companies in Odoo's service |
| char | Typing the name manually | No lookup, no credits and no automatic save |
Frequently asked questions
Does Odoo's partner autocomplete save the record automatically?+
Why is the company logo not filled on my custom model?+
How many characters trigger the partner autocomplete search?+
Why are suggestions limited to one country?+
Duplicate customers piling up?
Enrichment fills records beautifully and creates duplicates just as fast when the same company arrives from sales, the website and an import. We set up matching rules and a dedupe process so enrichment improves your data instead of multiplying it.
Book a free consultation