{ "info": { "author": "LasLabs, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n\n=====================\nSlick Carousel Widget\n=====================\n\nThis module provides a Slick Carousel widget for use in the Odoo backend web interface.\n\nUsage\n=====\n\nDefault usage is on a One2many attachment field, as defined below::\n\n class SlickExample(models.Model):\n _name = 'slick.example'\n _description = 'Slick Example Model'\n image_ids = fields.One2many(\n name='Images',\n comodel_name='ir.attachment',\n inverse_name='res_id',\n )\n\nAssuming the above model, you would add a Slick Carousel on the\n``image_ids`` column by using the following field definition in the\nmodel's form view::\n\n \n\nOptions\n-------\n\nThe widget passes options directly through to Slick, so any `setting\navailable to Slick`_ is available to the widget. Additional options\nspecific to Odoo are:\n\n+-----------------+--------------+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| Name | Type | Default | Description |\n+=================+==============+=====================+=============================================================================================================================================================================+\n| ``fieldName`` | ``String`` | ``datas`` | Field to lookup on relation table. Defaults to ``datas``, which is the data field used in ``ir.attachment`` table. This would be used to define a custom attachment model |\n+-----------------+--------------+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| ``modelName`` | ``String`` | ``ir.attachment`` | Model of attachment relation. This would be used to define a custom attachment model instead of default ``ir.attachment`` |\n+-----------------+--------------+---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n\n.. _setting available to Slick: http://kenwheeler.github.io/slick/#settings\n\nExample Module\n--------------\n\nAn example implementation, for instructional purposes as well as convenient\nfunctional testing, is provided in the `web_widget_slick_example` module.\n\n* Install `web_widget_slick_example`.\n* Activate Developer Mode.\n* Go to Settings / Technical / Slick, and open the record to view the widget.\n\nTo try out different Slick settings:\n\n* Go to Settings/User Interface/Views and search for 'slick.example.view.form'.\n* Open the form view record.\n* Click the Edit button.\n* In the Architecture editor, find `options=\"{'slidesToShow': 2}`, and add\n any desired settings (separated by commas) inside the curly braces.\n* Save the changes and browse to the widget, as described above, to see the\n widget with the new settings in effect.\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/162/10.0\n\nKnown issues / Roadmap\n======================\n\n* Adding / Deleting images from a carousel is not currently supported.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Dave Lasley \n* Brent Hughes \n\nDo not contact contributors directly about support or help with technical issues.\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://laslabs.com/", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-web-widget-slick", "package_url": "https://pypi.org/project/odoo10-addon-web-widget-slick/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-web-widget-slick/", "project_urls": { "Homepage": "https://laslabs.com/" }, "release_url": "https://pypi.org/project/odoo10-addon-web-widget-slick/10.0.1.0.0/", "requires_dist": [ "odoo (<10.1dev,>=10.0)" ], "requires_python": "", "summary": "Adds SlickJS slider widget for use as a carousel on Many2one attachment fields in backend form views.", "version": "10.0.1.0.0" }, "last_serial": 3994263, "releases": { "10.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "97834a52c4b2c74ce7c23db8a3e0713d", "sha256": "f3f934b69ea37cd8ff0035aea88239801bea02b236ef2251326e9948e1897cdb" }, "downloads": -1, "filename": "odoo10_addon_web_widget_slick-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "97834a52c4b2c74ce7c23db8a3e0713d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 68484, "upload_time": "2017-09-12T04:30:25", "url": "https://files.pythonhosted.org/packages/57/4a/1dfc626cad7e46fec12c84ec6ae8d5dcccbda887f229af5b9b87a0959468/odoo10_addon_web_widget_slick-10.0.1.0.0-py2-none-any.whl" } ], "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "887796ec3f41d17ffad88503b6329da5", "sha256": "5ed5b58c57cc91f2059f79ced97a2b30d03f321fdf20eb32c563b540228f063b" }, "downloads": -1, "filename": "odoo10_addon_web_widget_slick-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "887796ec3f41d17ffad88503b6329da5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 69110, "upload_time": "2018-06-24T04:33:37", "url": "https://files.pythonhosted.org/packages/a2/b6/36e9f301572cb91e9238c9a5122bab0688d3071a69fec1f9b01d838e9482/odoo10_addon_web_widget_slick-10.0.1.0.0.99.dev1-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97834a52c4b2c74ce7c23db8a3e0713d", "sha256": "f3f934b69ea37cd8ff0035aea88239801bea02b236ef2251326e9948e1897cdb" }, "downloads": -1, "filename": "odoo10_addon_web_widget_slick-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "97834a52c4b2c74ce7c23db8a3e0713d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 68484, "upload_time": "2017-09-12T04:30:25", "url": "https://files.pythonhosted.org/packages/57/4a/1dfc626cad7e46fec12c84ec6ae8d5dcccbda887f229af5b9b87a0959468/odoo10_addon_web_widget_slick-10.0.1.0.0-py2-none-any.whl" } ] }