Allows to auto-apply the coupons with no user intervention
Project description
This module allows to auto apply the programs without the need of the user intervention.
Table of contents
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. 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
David Vidal
Pilar Vargas
-
Silvio Gregorini
Maintainers
This module is maintained by the OCA.
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.
Current maintainers:
This module is part of the OCA/sale-promotion project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_sale_coupon_auto_refresh-15.0.1.0.0.6-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_sale_coupon_auto_refresh-15.0.1.0.0.6-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e85a72d7648221f670d2045fa81026bc75a0f22d384524b1d17d92fdc5d2c0a6 |
|
MD5 | 810c85ab976b5591768c8ce8b6ccfa0b |
|
BLAKE2b-256 | b717fa18f8582806bc8fcd91fb9605238ac14f86bf1ecbbb22d6567c9e2d5614 |