odoo-addon-sale-coupon-auto-refresh


Nameodoo-addon-sale-coupon-auto-refresh JSON
Version 15.0.1.0.0.6 PyPI version JSON
download
home_pagehttps://github.com/OCA/sale-promotion
SummaryAllows to auto-apply the coupons with no user intervention
upload_time2023-11-09 05:20:11
maintainer
docs_urlNone
authorTecnativa, Camptocamp, Odoo Community Association (OCA)
requires_python>=3.8
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:7bafacae4429131fbe653c4eb1a6584833e153163a341bf484480d4cf45f0b3c
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/15.0/sale_coupon_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-15-0/sale-promotion-15-0-sale_coupon_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=15.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_coupon_auto_refresh.sale_order_triggers`
   - For `sale.order.line`: `sale_coupon_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 removiming 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 *Promo Code Usage* set to
*Automatically applied*. This can be done in *Sales > Products > Promotion programs*.

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_coupon_auto_refresh%0Aversion:%2015.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

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/15.0/sale_coupon_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-coupon-auto-refresh",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Tecnativa, Camptocamp, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": "",
    "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:7bafacae4429131fbe653c4eb1a6584833e153163a341bf484480d4cf45f0b3c\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/15.0/sale_coupon_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-15-0/sale-promotion-15-0-sale_coupon_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=15.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_coupon_auto_refresh.sale_order_triggers`\n   - For `sale.order.line`: `sale_coupon_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 removiming 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 *Promo Code Usage* set to\n*Automatically applied*. This can be done in *Sales > Products > Promotion programs*.\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_coupon_auto_refresh%0Aversion:%2015.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\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/15.0/sale_coupon_auto_refresh>`_ 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": "AGPL-3",
    "summary": "Allows to auto-apply the coupons with no user intervention",
    "version": "15.0.1.0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/OCA/sale-promotion"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b717fa18f8582806bc8fcd91fb9605238ac14f86bf1ecbbb22d6567c9e2d5614",
                "md5": "810c85ab976b5591768c8ce8b6ccfa0b",
                "sha256": "e85a72d7648221f670d2045fa81026bc75a0f22d384524b1d17d92fdc5d2c0a6"
            },
            "downloads": -1,
            "filename": "odoo_addon_sale_coupon_auto_refresh-15.0.1.0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "810c85ab976b5591768c8ce8b6ccfa0b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 36992,
            "upload_time": "2023-11-09T05:20:11",
            "upload_time_iso_8601": "2023-11-09T05:20:11.844395Z",
            "url": "https://files.pythonhosted.org/packages/b7/17/fa18f8582806bc8fcd91fb9605238ac14f86bf1ecbbb22d6567c9e2d5614/odoo_addon_sale_coupon_auto_refresh-15.0.1.0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-09 05:20:11",
    "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-coupon-auto-refresh"
}
        
Elapsed time: 0.72135s