Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Usage

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"
       class="js_website_autocomplete"
       data-query-field="name"
       data-display-field="name"
       data-value-field="id"
       data-limit="10"
       data-domain='[["website_published", "=", true]]'
       data-model="product.template"
       />

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.

Credits

Contributors

Maintainer

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 https://odoo-community.org.

Metadata

Release files for odoo9-addon-website-field-autocomplete 9.0.1.0.1.99.dev18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo9-addon-website-field-autocomplete 9.0.1.0.1.99.dev18
File Interpreter ABI Platform
odoo9_addon_website_field_autocomplete-9.0.1.0.1.99.dev18-py2-none-any.whl Python 2 none any Details

Release files / odoo9_addon_website_field_autocomplete-9.0.1.0.1.99.dev18-py2-none-any.whl

Download URL odoo9_addon_website_field_autocomplete-9.0.1.0.1.99.dev18-py2-none-any.whl
Size 27.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
78016b9b7407c9ae83f6392f49a05aba7af19289654488e29b161fb10d969f47
BLAKE2b-256 checksum
How to use checksums
b78b626bc6cd4eb72ddb250308db99620d3333be3bb2d67182998de338006a47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page