| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 860 |
| Technical Name |
website_spin |
| License | OPL-1 |
| Website | https://www.gulfboost.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 860 |
| Technical Name |
website_spin |
| License | OPL-1 |
| Website | https://www.gulfboost.com |
Spin & Win for Odoo Website
Add a customizable "Spin & Win" gamification widget to your Odoo website.
Drive engagement and grow your customer database by awarding prizes for spinning the wheel during
campaigns, promotions, or lead capture activities.
Technical Stats
Total lines of code (including this page): 1,191 (counting: .py, .xml, .html, .js, .css/.scss, .csv, .yml/.yaml, .json, .svg, .txt)
Key Features
- ð¡ Spin & Win Widget: Adds a fun spinning wheel popup to your website. Users log in to play.
- ð§© Segment Prizes: Define wheel segments with distinct rewards (discounts %, coupons, messages, "no win", etc).
- âï¸ Weighted Odds: Assign probability (weight) per segment for tailored reward chances.
- ð Daily Attempt Limit: Limit spin attempts per user/day per website spin campaign.
- â± Website Multi-site Support: Choose which website/campaign each spin applies to, or set global spins.
- ð Reward Types: Support for percentage discounts, fixed amount, coupon codes, or custom messages. (Use in segment config.)
- ð Spin Log: Automatic logging of every user spin; view all logs in the backend and a history in the user portal.
- ð User Portal View: Users can review all their spin attempts and winnings under their portal account.
- ð Public Access Control: Only logged-in visitors may spin (extends customer registration/capture flow).
- ð Schedule Spins: Activate/deactivate spins for special campaigns.
- ð¼ Customizable Wheel: Set wheel title, intro text, button text, and appearance (via code/views).
Requirements
Odoo 18 (Enterprise or Community)
Apps Required: Website, eCommerce (website_sale - optional, if you wish to use product-related coupons)
Permissions
- Spin Manager: configure spins and segments.
- Spin Logs: access the spin logs menu.
- Public/portal users must be authenticated to spin.
Key Capabilities
- Instant coupon codes on win using
loyalty.card(Coupons / Promo Code / Next Order Coupons). Email sending is skipped in-request for speed. - One active spin at a time is enforced. The list shows inactive spins (muted style) for clarity.
- Inactive segments stay visible in the one2many list (muted) instead of disappearing.
- Weighted random selection across active segments.
- Multiâwebsite, start/end schedule, and daily attempt limit per user.
- Comprehensive logs: backend list and portal history for users.
- Enforced one active Spin per website. You can activate a different Spin for each website.
- Added Company field on the Spin form (related to the chosen website) for clarity.
Screenshots
How It Works
1. Setup Spins & Segments
In the backend, create a new Spin, give it a name, choose the website, and configure daily attempt limits. Set up each wheel segment with its label, reward type (percent, fixed, coupon, message, no win), and probability weight.
2. User Experience
Authenticated visitors see a "Spin & Win" popup or button. When spinning, a random segment is awarded based on your weights. Users get an immediate on-screen reward; all spins are recorded for later use (ex: coupons can show in portal or email).
3. Spin Logs & History
Every spin attempt creates a backend log (user, time, website, reward). Users can review their winnings in My Account → Spin Logs on the portal. Admin can audit logs in the backend for campaigns and reporting.
4. Prizes & Redemption
Rewards may be text messages, coupon codes, or pre-defined discounts.
Optional: Integrate coupon/discount logic with Odoo's standard coupon modules (coupon,
sale_coupon).
Configuration Steps
- In Website â Spin & Win, create a new Spin.
- Add as many segments as you need (prizes, probabilities, type, etc).
- Set the daily attempt limit and choose the website to display this campaign.
- Activate the spin.
- Users will now see the spin popup and can start playing!
- Monitor winners/spin logs in Website â Spin & Win Logs, or in user's portal.
- Optionally, integrate coupon reward logic using standard Odoo sales/coupon modules, or use as a prospecting/marketing gamification without discounts.
Compatibility
Fully compatible with Odoo 18 (Enterprise & Community).
No code overrides of website templates.
Designed to work with Odoo multi-website.
Optionally connect rewards to coupon modules or custom logic.
About
Developed by Mostafa Badr.
Phone: +20 1147532376
Support / customization: mostafabadrhafez@gmail.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module