odoo-addon-website-sale-product-attachment


Nameodoo-addon-website-sale-product-attachment JSON
Version 16.0.1.0.0.6 PyPI version JSON
download
home_pagehttps://github.com/OCA/e-commerce
SummaryLet visitors download attachments from a product page
upload_time2024-05-09 03:34:55
maintainerNone
docs_urlNone
authorTecnativa, Odoo Community Association (OCA)
requires_python>=3.10
licenseLGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =============================
eCommerce product attachments
=============================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:fce91d1fd7ce1e8d6453585605b5807b844470a247a80848571c78ec2d573cef
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
    :target: https://github.com/OCA/e-commerce/tree/16.0/website_sale_product_attachment
    :alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_product_attachment
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module lets you publish downloadable attachments in a product page.

This is useful if you want to publish firmwares, manuals, specs, warranties,
or whatever document related to the product.

**Table of contents**

.. contents::
   :local:

Configuration
=============

Instead of configuring attachments per product, to configure products per attachment:

#. You need permissions to access system settings.
#. Go to *Settings > Dashboard > Activate the developer mode*.
#. Go to *Settings > Technical > Database Structure > Attachments*.
#. Pick or create one.
#. Enable *Attached To > Is public document*.
#. Use the field *Attached in products* to choose the products.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/backend-attachment.png
   :alt: Attachments view in backend

To be able to filter attachments per website:

#. Go to *Website > Configuration > Settings > Website*.
#. Create more than one.
#. Go to *Settings > Technical > Database Structure > Attachments*
#. Pick or create one.
#. Select a website.
#. Save

To toggle attachment icons in the website:

#. Go to any product in your eCommerce.
#. Toggle *Customize > Product downloads > Download icons*.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/frontend-icons.png
   :alt: Toggle icons in frontend

Usage
=====

To add publicly downloadable attachments to a product template:

#. Go to a *Website > Products > Products* in backend.
#. Pick or create one.
#. Go to the *eCommerce* tab > *Website Attachments*.
#. Add any downloadable attachments you want there. They can exist before or be new.
   They must be public.
#. Save.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/backend-product.png
   :alt: Products view in backend

Once you set up the product attachments, public users will be able to download them:

#. Go to the product eCommerce page.
#. Below the product price and description, you will find a dropdown labeled as *Product downloads*. Click it.
#. Users will download those attachments from there.
#. Attachments will appear in name order.

.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/frontend-download.gif
   :alt: Attachments view in backend

Known issues / Roadmap
======================

- Make translatable the name of the attachment in the e-commerce. This will
  mean to deal with the sorting of the translated terms.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_product_attachment%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

  * Jairo Llopis
  * Víctor Martínez


* `Sygel <https://www.sygel.es>`_:

  * Ángel García de la Chica Herrera

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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.

.. |maintainer-Yajo| image:: https://github.com/Yajo.png?size=40px
    :target: https://github.com/Yajo
    :alt: Yajo

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Yajo| 

This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/16.0/website_sale_product_attachment>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/e-commerce",
    "name": "odoo-addon-website-sale-product-attachment",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Tecnativa, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": null,
    "platform": null,
    "description": "=============================\neCommerce product attachments\n=============================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:fce91d1fd7ce1e8d6453585605b5807b844470a247a80848571c78ec2d573cef\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n    :alt: License: LGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github\n    :target: https://github.com/OCA/e-commerce/tree/16.0/website_sale_product_attachment\n    :alt: OCA/e-commerce\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_product_attachment\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n    :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=16.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module lets you publish downloadable attachments in a product page.\n\nThis is useful if you want to publish firmwares, manuals, specs, warranties,\nor whatever document related to the product.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nConfiguration\n=============\n\nInstead of configuring attachments per product, to configure products per attachment:\n\n#. You need permissions to access system settings.\n#. Go to *Settings > Dashboard > Activate the developer mode*.\n#. Go to *Settings > Technical > Database Structure > Attachments*.\n#. Pick or create one.\n#. Enable *Attached To > Is public document*.\n#. Use the field *Attached in products* to choose the products.\n\n.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/backend-attachment.png\n   :alt: Attachments view in backend\n\nTo be able to filter attachments per website:\n\n#. Go to *Website > Configuration > Settings > Website*.\n#. Create more than one.\n#. Go to *Settings > Technical > Database Structure > Attachments*\n#. Pick or create one.\n#. Select a website.\n#. Save\n\nTo toggle attachment icons in the website:\n\n#. Go to any product in your eCommerce.\n#. Toggle *Customize > Product downloads > Download icons*.\n\n.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/frontend-icons.png\n   :alt: Toggle icons in frontend\n\nUsage\n=====\n\nTo add publicly downloadable attachments to a product template:\n\n#. Go to a *Website > Products > Products* in backend.\n#. Pick or create one.\n#. Go to the *eCommerce* tab > *Website Attachments*.\n#. Add any downloadable attachments you want there. They can exist before or be new.\n   They must be public.\n#. Save.\n\n.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/backend-product.png\n   :alt: Products view in backend\n\nOnce you set up the product attachments, public users will be able to download them:\n\n#. Go to the product eCommerce page.\n#. Below the product price and description, you will find a dropdown labeled as *Product downloads*. Click it.\n#. Users will download those attachments from there.\n#. Attachments will appear in name order.\n\n.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_product_attachment/static/description/frontend-download.gif\n   :alt: Attachments view in backend\n\nKnown issues / Roadmap\n======================\n\n- Make translatable the name of the attachment in the e-commerce. This will\n  mean to deal with the sorting of the translated terms.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_product_attachment%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Tecnativa\n\nContributors\n~~~~~~~~~~~~\n\n* `Tecnativa <https://www.tecnativa.com>`_:\n\n  * Jairo Llopis\n  * V\u00edctor Mart\u00ednez\n\n\n* `Sygel <https://www.sygel.es>`_:\n\n  * \u00c1ngel Garc\u00eda de la Chica Herrera\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\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\n.. |maintainer-Yajo| image:: https://github.com/Yajo.png?size=40px\n    :target: https://github.com/Yajo\n    :alt: Yajo\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-Yajo| \n\nThis module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/16.0/website_sale_product_attachment>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n",
    "bugtrack_url": null,
    "license": "LGPL-3",
    "summary": "Let visitors download attachments from a product page",
    "version": "16.0.1.0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/OCA/e-commerce"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "05c032085766c7cc62c67f7f7537ec630ced52f714afaed09a4a41b47850c4fe",
                "md5": "444201da7703656126a2ddef50d7f8af",
                "sha256": "01e0362051167e9976bf10407438cc8b3c0addcbb57d95ecab69691beaf1a2b3"
            },
            "downloads": -1,
            "filename": "odoo_addon_website_sale_product_attachment-16.0.1.0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "444201da7703656126a2ddef50d7f8af",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 531117,
            "upload_time": "2024-05-09T03:34:55",
            "upload_time_iso_8601": "2024-05-09T03:34:55.189538Z",
            "url": "https://files.pythonhosted.org/packages/05/c0/32085766c7cc62c67f7f7537ec630ced52f714afaed09a4a41b47850c4fe/odoo_addon_website_sale_product_attachment-16.0.1.0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-09 03:34:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "e-commerce",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "odoo-addon-website-sale-product-attachment"
}
        
Elapsed time: 0.24045s