Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Abstract data slider for use on website. Primary use (and default implementation) is product slider.

Project Description
.. image::
:alt: License: LGPL-3

Website Snippet - Data Slider

Adds a SlickJS slider building block to website allowing for the query and
display of abstract datasets.

Example uses for this module:

* Products slider using the ``product.product`` model
* Affiliates slider using the ``res.partner`` model

.. image:: static/description/screenshot.png?raw=true
:alt: Data Sliders


To use this module, you need to:

* Install `website_snippet_data_slider` module
* Drop `Data Slider` building block anywhere on your site
* Edit the configuration options to your liking
* Save
* Profit!

Note that the snippet defaults to the `product.template` model, as most common
usage for this widget is likely a product carousel.

Odoo snippet settings Javascript somewhat of got in the way when it came to allowing
easy choice of the data, aside from the simple options that were provided in the UI.

In order to further customize your snippet, go into HTML view and edit the
`data-options` attribute of the `section` element that serves as the snippet root.

Following are the setings that do not have configuration in the UI:

* `data_model` - Model name
* `data_domain` - Search domain for data
* `data_limit` - Limit query to this many results
* `data_image_field` - Field name to use for image
* `data_name_field` - Field to use for display name
* `data_title` - Text to use as main snippet header
* `data_title_tag` - HTML element type to use for title element (such as `h1`)
* `data_title_class` - Class to use for the title element
* `data_uri_field` - Field to use for the link
* `data_container_width` - Width of the outer container, default 90%
* `prevArrow` & `nextArrow` - HTML or jQuery selector of slider arrows

.. image::
:alt: Try me on Runbot

Known Issues / Road Map

* Provide UI for data settings
* Provide responsive settings & config
* Consolidate the data options a bit?
* Find a way to use slug, instead of URI Prefix
* Touch up the stylesheets
* Add a real thumbnail, instead of icon

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: `Icon <>`_.


* Dave Lasley <>


.. image::
:alt: 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
Release History

Release History

History Node

History Node

History Node

This version
History Node

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
odoo10_addon_website_snippet_data_slider- (1.3 MB) Copy SHA256 Checksum SHA256 py2 Wheel Mar 5, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting