=================
Sale Coupon Limit
=================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-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/14.0/sale_coupon_limit
: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-14-0/sale-promotion-14-0-sale_coupon_limit
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/296/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
This module allows to configure a limit on the times a promotion can be applied. Two
limits can be configured: customer and salesman. Those limits apply to either programs
or coupons.
**Table of contents**
.. contents::
:local:
Configuration
=============
To configure customer limits:
#. Go to *Sales > Catalog > Coupon Programs* and select or create a new one.
#. Set the *Maximum Customer Applications* to the number of times a coupon can be used
by a customer.
NOTE: The customer limit is applied at commercial entity level, not for each contact
inside the entity.
To configure salesmen limits:
#. Go to *Sales > Catalog > Coupon Programs* and select or create a new one.
#. Add salesmen to the *Salesmen Limits* list and their maximum number of applications.
#. You can add different limits to different salesmen groups.
#. If you want to constrain the use of the promotion to the salesmen list, set the
option *Strict limit* on, so any other salesman won't be able to apply the promotion.
Usage
=====
Once the program limits are configured, apply the programs as usual in your sale orders.
Once the limit for a customer or a salesman is reached, if we try to apply a promotion:
- A code promotion will raise an error.
- A program with no code won't be applied.
- A coupon belonging to a limited program will raise an error.
- A promotion applied on the next order won't generate the coupon.
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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-promotion/issues/new?body=module:%20sale_coupon_limit%0Aversion:%2014.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
* `Akretion <https://www.akretion.com>`_:
* Florian Mounier
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/14.0/sale_coupon_limit>`_ 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": "odoo14-addon-sale-coupon-limit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Tecnativa, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"download_url": "",
"platform": null,
"description": "=================\nSale Coupon Limit\n=================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\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-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/14.0/sale_coupon_limit\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-14-0/sale-promotion-14-0-sale_coupon_limit\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n :target: https://runbot.odoo-community.org/runbot/296/14.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis module allows to configure a limit on the times a promotion can be applied. Two\nlimits can be configured: customer and salesman. Those limits apply to either programs\nor coupons.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nConfiguration\n=============\n\nTo configure customer limits:\n\n#. Go to *Sales > Catalog > Coupon Programs* and select or create a new one.\n#. Set the *Maximum Customer Applications* to the number of times a coupon can be used\n by a customer.\n\nNOTE: The customer limit is applied at commercial entity level, not for each contact\ninside the entity.\n\nTo configure salesmen limits:\n\n#. Go to *Sales > Catalog > Coupon Programs* and select or create a new one.\n#. Add salesmen to the *Salesmen Limits* list and their maximum number of applications.\n#. You can add different limits to different salesmen groups.\n#. If you want to constrain the use of the promotion to the salesmen list, set the\n option *Strict limit* on, so any other salesman won't be able to apply the promotion.\n\nUsage\n=====\n\nOnce the program limits are configured, apply the programs as usual in your sale orders.\n\nOnce the limit for a customer or a salesman is reached, if we try to apply a promotion:\n\n- A code promotion will raise an error.\n- A program with no code won't be applied.\n- A coupon belonging to a limited program will raise an error.\n- A promotion applied on the next order won't generate the coupon.\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 smashing it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/sale-promotion/issues/new?body=module:%20sale_coupon_limit%0Aversion:%2014.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\n* `Akretion <https://www.akretion.com>`_:\n\n * Florian Mounier\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/14.0/sale_coupon_limit>`_ 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": "Restrict number of promotions per customer or salesman",
"version": "14.0.1.0.1.dev5",
"project_urls": {
"Homepage": "https://github.com/OCA/sale-promotion"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a4852a6af7b0cc080783d8f92fa998a6e5cfda4677a0841bfad833eb27db0368",
"md5": "5e36f5bc61658ebf7c95461d9ac0419d",
"sha256": "137da972ac50c33b3b395398048f1d11acd27784ca2c08c3221e403037a1e194"
},
"downloads": -1,
"filename": "odoo14_addon_sale_coupon_limit-14.0.1.0.1.dev5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5e36f5bc61658ebf7c95461d9ac0419d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 30117,
"upload_time": "2023-07-12T04:58:41",
"upload_time_iso_8601": "2023-07-12T04:58:41.868923Z",
"url": "https://files.pythonhosted.org/packages/a4/85/2a6af7b0cc080783d8f92fa998a6e5cfda4677a0841bfad833eb27db0368/odoo14_addon_sale_coupon_limit-14.0.1.0.1.dev5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-12 04:58:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OCA",
"github_project": "sale-promotion",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "odoo14-addon-sale-coupon-limit"
}