odoo-addon-loyalty-criteria-multi-product


Nameodoo-addon-loyalty-criteria-multi-product JSON
Version 16.0.1.0.0.7 PyPI version JSON
download
home_pagehttps://github.com/OCA/sale-promotion
SummaryAllows to set as promotion criteria multi-product conditions
upload_time2024-07-16 06:08:14
maintainerNone
docs_urlNone
authorTecnativa, Odoo Community Association (OCA)
requires_python>=3.10
licenseAGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==============================
Loyalty multi product criteria
==============================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
    :target: https://odoo-community.org/page/development-status
    :alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--promotion-lightgray.png?logo=github
    :target: https://github.com/OCA/sale-promotion/tree/16.0/loyalty_criteria_multi_product
    :alt: OCA/sale-promotion
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/sale-promotion-16-0/sale-promotion-16-0-loyalty_criteria_multi_product
    :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/sale-promotion&target_branch=16.0
    :alt: Try me on Runboat

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

Base module that allows to define complex rules on products to fulfill the conditions
of a loyalty program, so for a given set of products we could define a minimum quantity
and another for others, being all those criterias mandatory for the program to be
applied.

**Table of contents**

.. contents::
   :local:

Use Cases / Context
===================

The functionality of the "Repeat" option that was included in this module is now included
in the rules of an odoo promotion. In this functionality a criterion was established in
which any of the products defined in the list of the criterion itself had to be in the
sales order lines in the minimum quantity established for the promotion to be applied.
This functionality can now be applied in the following way:

- Defining or editing a promotion.
- Modifying the rules to indicate a minimum quantity and selecting the products,
  either by domain, specific products, product category or tag.

This way the promotion will be applicable when any of those products are in the order l
ines and the total of all or one of them meets the minimum quantity, as it was done when
the "Repeat" option was checked.

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

To configure multiple product criterias:

#. Go to *Sales > Product > Loyalty Programs* and select or create a new one.
#. Go to rules. On the *Loyalty Criteria* field choose *Multi Product*.
#. The standard domain will be hidden and a criteria list will be shown.
#. Add as many criterias as needed for the desired promotion behavior.

In the list of criterias we can configure:

- Products: The products that should be present to fulfill the condition.

Some examples:

===== ================
  Qty      Products
===== ================
    1   Prod A
===== ================

A unit of Product A must be in the sale order.

===== ================
  Qty      Products
===== ================
    2   Prod B, Prod C
===== ================

A unit of Product B and Product C must be in the sale order.

Also note that all the defined criterias must be fulfilled or the program won't be
applied.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-promotion/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/sale-promotion/issues/new?body=module:%20loyalty_criteria_multi_product%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>`_:

  * Pedro M. Baeza
  * David Vidal
  * Stefan Ungureanu
  * Pilar Vargas

* `Domatix <https://www.domatix.com>`_:

  * Álvaro López Oró

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-chienandalu| image:: https://github.com/chienandalu.png?size=40px
    :target: https://github.com/chienandalu
    :alt: chienandalu

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

|maintainer-chienandalu| 

This module is part of the `OCA/sale-promotion <https://github.com/OCA/sale-promotion/tree/16.0/loyalty_criteria_multi_product>`_ 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/sale-promotion",
    "name": "odoo-addon-loyalty-criteria-multi-product",
    "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": "==============================\nLoyalty multi product criteria\n==============================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:3ef49fdacdc1cee17f90c6312d1abc3629c29a4bac59d5ae2161cc476d73901a\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Production/Stable\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n    :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--promotion-lightgray.png?logo=github\n    :target: https://github.com/OCA/sale-promotion/tree/16.0/loyalty_criteria_multi_product\n    :alt: OCA/sale-promotion\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/sale-promotion-16-0/sale-promotion-16-0-loyalty_criteria_multi_product\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/sale-promotion&target_branch=16.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nBase module that allows to define complex rules on products to fulfill the conditions\nof a loyalty program, so for a given set of products we could define a minimum quantity\nand another for others, being all those criterias mandatory for the program to be\napplied.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nUse Cases / Context\n===================\n\nThe functionality of the \"Repeat\" option that was included in this module is now included\nin the rules of an odoo promotion. In this functionality a criterion was established in\nwhich any of the products defined in the list of the criterion itself had to be in the\nsales order lines in the minimum quantity established for the promotion to be applied.\nThis functionality can now be applied in the following way:\n\n- Defining or editing a promotion.\n- Modifying the rules to indicate a minimum quantity and selecting the products,\n  either by domain, specific products, product category or tag.\n\nThis way the promotion will be applicable when any of those products are in the order l\nines and the total of all or one of them meets the minimum quantity, as it was done when\nthe \"Repeat\" option was checked.\n\nConfiguration\n=============\n\nTo configure multiple product criterias:\n\n#. Go to *Sales > Product > Loyalty Programs* and select or create a new one.\n#. Go to rules. On the *Loyalty Criteria* field choose *Multi Product*.\n#. The standard domain will be hidden and a criteria list will be shown.\n#. Add as many criterias as needed for the desired promotion behavior.\n\nIn the list of criterias we can configure:\n\n- Products: The products that should be present to fulfill the condition.\n\nSome examples:\n\n===== ================\n  Qty      Products\n===== ================\n    1   Prod A\n===== ================\n\nA unit of Product A must be in the sale order.\n\n===== ================\n  Qty      Products\n===== ================\n    2   Prod B, Prod C\n===== ================\n\nA unit of Product B and Product C must be in the sale order.\n\nAlso note that all the defined criterias must be fulfilled or the program won't be\napplied.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/sale-promotion/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/sale-promotion/issues/new?body=module:%20loyalty_criteria_multi_product%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  * Pedro M. Baeza\n  * David Vidal\n  * Stefan Ungureanu\n  * Pilar Vargas\n\n* `Domatix <https://www.domatix.com>`_:\n\n  * \u00c1lvaro L\u00f3pez Or\u00f3\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-chienandalu| image:: https://github.com/chienandalu.png?size=40px\n    :target: https://github.com/chienandalu\n    :alt: chienandalu\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-chienandalu| \n\nThis module is part of the `OCA/sale-promotion <https://github.com/OCA/sale-promotion/tree/16.0/loyalty_criteria_multi_product>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
    "bugtrack_url": null,
    "license": "AGPL-3",
    "summary": "Allows to set as promotion criteria multi-product conditions",
    "version": "16.0.1.0.0.7",
    "project_urls": {
        "Homepage": "https://github.com/OCA/sale-promotion"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72a537313466e9a564658abb50fd2cd67cee284fda094864c3e52e8893977597",
                "md5": "b8c97765c072e694ca5e113cf59e68ab",
                "sha256": "9b09a4e98f81a89647bfce494013c47861299b66c4adf1b9cf78a2a49cdbddf6"
            },
            "downloads": -1,
            "filename": "odoo_addon_loyalty_criteria_multi_product-16.0.1.0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b8c97765c072e694ca5e113cf59e68ab",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 36509,
            "upload_time": "2024-07-16T06:08:14",
            "upload_time_iso_8601": "2024-07-16T06:08:14.785536Z",
            "url": "https://files.pythonhosted.org/packages/72/a5/37313466e9a564658abb50fd2cd67cee284fda094864c3e52e8893977597/odoo_addon_loyalty_criteria_multi_product-16.0.1.0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-16 06:08:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "sale-promotion",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "odoo-addon-loyalty-criteria-multi-product"
}
        
Elapsed time: 0.30771s