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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
David Vidal
-
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.
Metadata
Release files for odoo14-addon-sale-coupon-auto-refresh 14.0.2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo14_addon_sale_coupon_auto_refresh-14.0.2.0.1-py3-none-any.whl | Python 3 | none | any | Details for odoo14_addon_sale_coupon_auto_refresh-14.0.2.0.1-py3-none-any.whl |
Release files / odoo14_addon_sale_coupon_auto_refresh-14.0.2.0.1-py3-none-any.whl
| Download URL | odoo14_addon_sale_coupon_auto_refresh-14.0.2.0.1-py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec0eb7c949273331e9660367467cc72159a4ec879932f0d6ee550bbf98f64aae
|
|
BLAKE2b-256 checksum How to use checksums |
4157dcb5d76df69ed9c75d73b93af8984b7f68b9c8703ff7fe43e8dbd1a1cb9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Security for odoo14-addon-sale-coupon-auto-refresh 14.0.2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.