Skip to main content

Provides an autocomplete field for Website on any model

Project description

License: AGPL-3

Website Field - AutoComplete

Adds an AutoComplete field for use in Odoo Website.

This module is somewhat difficult to use on its own in an effort to not require any dependencies other than website.


To use this module, you need to add an input field with the js_website_autocomplete class, such as in the below format:

<input type="text"
       data-domain='[["website_published", "=", true]]'

Following is a breakdown of the available attributes & their defaults:

Attribute Description Default Required
data-model Model name to query   True
data-query-field Field to query when searching name False
data-display-field Field to display query-field False
data-value-field Field to use as form value display-field False
data-limit Limit results to this many 10 False
data-domain Additional domain for query [] False
Try me on Runbot

Known Issues / Road Map

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.




Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo9-addon-website-field-autocomplete, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo9_addon_website_field_autocomplete- (27.8 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page