This module allows to auto apply the programs without the need of the user intervention.
Table of contents
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.
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.
- This module should be ported to OCA in v13 as Odoo released enterprise modules and they are now on the community side.
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.
- Tecnativa
- Camptocamp
- Tecnativa:
- David Vidal
- Pilar Vargas
- Camptocamp:
- Silvio Gregorini
- Trobz:
- Nguyen Minh Chien <[email protected]>
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.