odoo-addon-sale-loyalty-auto-refresh


Nameodoo-addon-sale-loyalty-auto-refresh JSON
Version 16.0.1.0.0.3 PyPI version JSON
download
home_pagehttps://github.com/OCA/sale-promotion
SummaryAllows to auto-apply the coupons with no user intervention
upload_time2024-11-13 04:11:25
maintainerNone
docs_urlNone
authorTecnativa, Camptocamp, 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.
            ====================
Auto Refresh Coupons
====================

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

.. |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/sale_loyalty_auto_refresh
    :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-sale_loyalty_auto_refresh
    :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|

This module allows to auto apply the programs without the need of the user intervention.

**Table of contents**

.. contents::
   :local:

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

You can set this feature on or off in every company. To do so:

#. Go to *Sales > Configuration > Settings*
#. In the *Pricing* section you'll find the option *Auto refresh promotions*.

The auto-refresh in the backend is triggered over a minimum set of fields changes. If
you want to extend the list of that fields:

#. Go to *Settings > Technical > Config parameters*
#. Add or update the key:

   - For `sale.order`: `sale_loyalty_auto_refresh.sale_order_triggers`
   - For `sale.order.line`: `sale_loyalty_auto_refresh.sale_order_line_triggers`
#. In every add the fields seperated by commas that you want to add to the recomputation
   triggers.

⚠️ After configuring or removing a trigger a restart of Odoo is recommended so the
depends are reloaded properly. Anyway it isn't mandatory and the module detects the
new triggers so the auto-refresh works as expected as soon as they are set.

Usage
=====

You need to configure a *Promotion program* with the option *Program trigger* set to
*Automatic* (shown in Debug mode only, read-only computed field). This can be done in *Sales > Products > Discount & Loyalty*.

Now, make a quotation that fulfill the promotion condition and the promotion will be
automatically applied.

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

* This module should be ported to OCA in v13 as Odoo released enterprise modules and
  they are now on the community side.

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:%20sale_loyalty_auto_refresh%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
* Camptocamp

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

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

  * David Vidal
  * Pilar Vargas

* `Camptocamp <https://www.camptocamp.com>`_:

  * Silvio Gregorini

* `Trobz <https://www.trobz.com>`_:

  * Nguyen Minh Chien <chien@trobz.com>

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

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

|maintainer-chienandalu| |maintainer-SilvioC2C| 

This module is part of the `OCA/sale-promotion <https://github.com/OCA/sale-promotion/tree/16.0/sale_loyalty_auto_refresh>`_ 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-sale-loyalty-auto-refresh",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Tecnativa, Camptocamp, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": null,
    "platform": null,
    "description": "====================\nAuto Refresh Coupons\n====================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:133096428fab5ae09fcaa35b8da33f24d667399972235fc7e8842692fbc2eb41\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/sale_loyalty_auto_refresh\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-sale_loyalty_auto_refresh\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\nThis module allows to auto apply the programs without the need of the user intervention.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nConfiguration\n=============\n\nYou can set this feature on or off in every company. To do so:\n\n#. Go to *Sales > Configuration > Settings*\n#. In the *Pricing* section you'll find the option *Auto refresh promotions*.\n\nThe auto-refresh in the backend is triggered over a minimum set of fields changes. If\nyou want to extend the list of that fields:\n\n#. Go to *Settings > Technical > Config parameters*\n#. Add or update the key:\n\n   - For `sale.order`: `sale_loyalty_auto_refresh.sale_order_triggers`\n   - For `sale.order.line`: `sale_loyalty_auto_refresh.sale_order_line_triggers`\n#. In every add the fields seperated by commas that you want to add to the recomputation\n   triggers.\n\n\u26a0\ufe0f After configuring or removing a trigger a restart of Odoo is recommended so the\ndepends are reloaded properly. Anyway it isn't mandatory and the module detects the\nnew triggers so the auto-refresh works as expected as soon as they are set.\n\nUsage\n=====\n\nYou need to configure a *Promotion program* with the option *Program trigger* set to\n*Automatic* (shown in Debug mode only, read-only computed field). This can be done in *Sales > Products > Discount & Loyalty*.\n\nNow, make a quotation that fulfill the promotion condition and the promotion will be\nautomatically applied.\n\nKnown issues / Roadmap\n======================\n\n* This module should be ported to OCA in v13 as Odoo released enterprise modules and\n  they are now on the community side.\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:%20sale_loyalty_auto_refresh%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* Camptocamp\n\nContributors\n~~~~~~~~~~~~\n\n* `Tecnativa <https://www.tecnativa.com>`_:\n\n  * David Vidal\n  * Pilar Vargas\n\n* `Camptocamp <https://www.camptocamp.com>`_:\n\n  * Silvio Gregorini\n\n* `Trobz <https://www.trobz.com>`_:\n\n  * Nguyen Minh Chien <chien@trobz.com>\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.. |maintainer-SilvioC2C| image:: https://github.com/SilvioC2C.png?size=40px\n    :target: https://github.com/SilvioC2C\n    :alt: SilvioC2C\n\nCurrent `maintainers <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-chienandalu| |maintainer-SilvioC2C| \n\nThis module is part of the `OCA/sale-promotion <https://github.com/OCA/sale-promotion/tree/16.0/sale_loyalty_auto_refresh>`_ 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 auto-apply the coupons with no user intervention",
    "version": "16.0.1.0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/OCA/sale-promotion"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0cbab1679384c0a8f2c0fc8b4fc616b682624df6331549ee79d0712f9ffdae8c",
                "md5": "da4984023ea15773016309002e01f747",
                "sha256": "2966ac08eb476baca2edd1cc1d36497e13e41e1e6687f076557d6ca30159a882"
            },
            "downloads": -1,
            "filename": "odoo_addon_sale_loyalty_auto_refresh-16.0.1.0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "da4984023ea15773016309002e01f747",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 39977,
            "upload_time": "2024-11-13T04:11:25",
            "upload_time_iso_8601": "2024-11-13T04:11:25.668997Z",
            "url": "https://files.pythonhosted.org/packages/0c/ba/b1679384c0a8f2c0fc8b4fc616b682624df6331549ee79d0712f9ffdae8c/odoo_addon_sale_loyalty_auto_refresh-16.0.1.0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-13 04:11:25",
    "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-sale-loyalty-auto-refresh"
}
        
Elapsed time: 1.25417s