13 KiB
Helpdesk Rating Five Stars - User Guide
Table of Contents
- Introduction
- For Customers
- For Helpdesk Agents
- For Helpdesk Managers
- For System Administrators
- Frequently Asked Questions
Introduction
The Helpdesk Rating Five Stars module enhances Odoo's Helpdesk application by replacing the standard 3-emoticon rating system with an intuitive 5-star rating system. This guide explains how to use the new rating system for different user roles.
What's New?
- 5 Stars Instead of 3 Emoticons: More granular feedback options
- Interactive Star Widget: Click or hover to select rating
- Email Star Links: One-click rating directly from email
- Better Analytics: More precise satisfaction metrics
- Accessible Design: Keyboard navigation and screen reader support
For Customers
How to Rate a Ticket via Email
- Receive Rating Request: After your ticket is closed, you'll receive an email asking for feedback
- See Five Stars: The email contains 5 clickable star icons (⭐⭐⭐⭐⭐)
- Click Your Rating: Click on the star that represents your satisfaction level:
- ⭐ = Very Dissatisfied
- ⭐⭐ = Dissatisfied
- ⭐⭐⭐ = Neutral
- ⭐⭐⭐⭐ = Satisfied
- ⭐⭐⭐⭐⭐ = Very Satisfied
- Confirmation: You'll be redirected to a thank you page confirming your rating
How to Rate a Ticket via Web Form
- Access Rating Form: Click the "Rate this ticket" link in your email or portal
- See Interactive Stars: The web form displays 5 interactive stars
- Hover to Preview: Move your mouse over the stars to preview your rating
- Click to Select: Click on the star you want to select
- Submit: Click the submit button to save your rating
- Confirmation: You'll see a confirmation message
Changing Your Rating
If you change your mind about your rating:
- Click the rating link again (from the same email)
- Select a different star rating
- Your previous rating will be updated (not duplicated)
Keyboard Navigation
For accessibility, you can use your keyboard:
- Tab: Navigate to the star rating widget
- Arrow Keys: Move between stars (left/right)
- Enter: Select the highlighted star
- Tab: Move to submit button
Mobile Devices
The star rating works great on mobile:
- Stars are sized for easy touch interaction
- Tap any star to select your rating
- Works on all modern smartphones and tablets
For Helpdesk Agents
Viewing Ratings in Ticket Form
- Open a Ticket: Navigate to Helpdesk → Tickets → [Select Ticket]
- Find Rating Section: Scroll to the rating section in the form
- See Star Display: Ratings appear as filled stars:
- Example: ⭐⭐⭐⭐☆ = 4-star rating
- Empty stars (☆) show unselected ratings
Viewing Ratings in List View
- Navigate to Tickets: Go to Helpdesk → Tickets
- Rating Column: Look for the rating column in the list
- Compact Display: Ratings show as stars in compact format
- Sort by Rating: Click the rating column header to sort
- Filter by Rating: Use filters to show tickets by rating level
Viewing Ratings in Kanban View
- Switch to Kanban: Click the kanban view icon
- Ticket Cards: Each ticket card shows its rating
- Visual Feedback: Quickly identify satisfaction levels
- Drag and Drop: Organize tickets while seeing ratings
Understanding Rating Values
| Stars | Rating Value | Customer Satisfaction |
|---|---|---|
| ⭐ | 1 | Very Dissatisfied |
| ⭐⭐ | 2 | Dissatisfied |
| ⭐⭐⭐ | 3 | Neutral |
| ⭐⭐⭐⭐ | 4 | Satisfied |
| ⭐⭐⭐⭐⭐ | 5 | Very Satisfied |
Best Practices
- Follow Up on Low Ratings: Reach out to customers with 1-2 star ratings
- Learn from High Ratings: Identify what worked well in 5-star tickets
- Track Your Performance: Monitor your average rating over time
- Request Feedback: Encourage customers to rate their experience
For Helpdesk Managers
Viewing Rating Statistics
- Navigate to Reports: Go to Helpdesk → Reporting → Ratings
- Dashboard Overview: See average ratings, trends, and distributions
- 0-5 Scale: All statistics now use the 5-star scale
- Filter Options: Filter by team, agent, time period, or rating value
Analyzing Rating Trends
Average Rating Calculation:
- Based on 0-5 scale (not 0-3)
- Example: Average of 4.2 stars = High satisfaction
- Compare periods to track improvement
Rating Distribution:
- See how many tickets received each rating (1-5 stars)
- Identify patterns in customer satisfaction
- Spot areas needing improvement
Filtering and Grouping
Filter by Rating:
- Click "Filters" in the rating report
- Select rating range (e.g., 4-5 stars for satisfied customers)
- View filtered results
Group by Dimension:
- Group by Team: Compare team performance
- Group by Agent: Identify top performers
- Group by Time: Track trends over weeks/months
- Group by Ticket Type: Analyze satisfaction by issue type
Exporting Rating Data
- Navigate to Ratings: Go to Helpdesk → Reporting → Ratings
- Apply Filters: Set desired filters and grouping
- Export: Click the export button
- Choose Format: Select Excel, CSV, or PDF
- Rating Values: Export includes 0-5 scale values
Setting Performance Goals
Recommended Targets:
- Average Rating: Aim for 4.0+ stars
- 5-Star Percentage: Target 60%+ of ratings at 5 stars
- Low Rating Rate: Keep 1-2 star ratings below 10%
- Response Time: Faster response correlates with higher ratings
Team Performance Review
Monthly Review Process:
- Export rating data for the month
- Calculate team and individual averages
- Identify top performers (highest ratings)
- Identify improvement areas (low ratings)
- Provide feedback and coaching
- Set goals for next month
For System Administrators
Installation
See the README.md file for detailed installation instructions.
Quick Steps:
- Copy module to addons directory
- Restart Odoo server
- Update apps list
- Install module
- Verify migration completed
Post-Installation Verification
Check Migration:
- Review Odoo server logs for migration messages
- Verify existing ratings were converted
- Test rating submission (email and web)
- Check backend views display stars correctly
Verify Components:
- Email templates show 5 stars
- Web form displays interactive widget
- Backend views show star ratings
- Reports use 0-5 scale
- Mobile responsive design works
- Keyboard navigation functions
Configuration Options
Email Template Customization:
- Go to Settings → Technical → Email → Templates
- Search for "Helpdesk Rating Request"
- Edit template content and styling
- Keep star links intact (required for functionality)
- Test email sending
Star Icon Customization:
- Edit
static/src/scss/rating_stars.scss - Modify star styles or replace with custom icons
- Restart Odoo server
- Clear browser cache
- Verify changes in frontend
Base URL Configuration:
- Go to Settings → General Settings
- Set "Web Base URL" correctly
- Ensure URL is accessible from internet (for email links)
- Test rating links from email
Monitoring and Maintenance
Check Logs:
# View Odoo logs
tail -f /var/log/odoo/odoo-server.log
# Filter for rating-related logs
grep -i "rating" /var/log/odoo/odoo-server.log
Database Queries:
-- Check rating distribution
SELECT rating, COUNT(*)
FROM rating_rating
WHERE rating > 0
GROUP BY rating
ORDER BY rating;
-- Check average rating
SELECT AVG(rating)
FROM rating_rating
WHERE rating > 0;
-- Check recent ratings
SELECT id, rating, create_date
FROM rating_rating
WHERE rating > 0
ORDER BY create_date DESC
LIMIT 10;
Performance Monitoring:
- Monitor database query performance
- Check static file serving
- Verify email sending queue
- Monitor server resource usage
Troubleshooting
Stars Not Displaying:
- Clear browser cache
- Check browser console for JavaScript errors
- Verify static files are served correctly
- Restart Odoo server
- Check file permissions
Email Links Not Working:
- Verify base URL in settings
- Check rating token validity
- Review server logs for errors
- Test controller route accessibility
- Check email template syntax
Migration Issues:
- Check server logs for migration errors
- Verify database permissions
- Check for data integrity issues
- Consider uninstall/reinstall if needed
- Contact support for assistance
Security Considerations
Token Security:
- Tokens expire after 30 days (default)
- Tokens are cryptographically secure
- One token per rating request
- Validate tokens on every submission
Access Control:
- Public access for rating submission (token-based)
- Restricted modification for backend users
- Audit logging for rating changes
- Role-based permissions enforced
Input Validation:
- All rating values validated server-side
- SQL injection prevented through ORM
- XSS prevention in templates
- CSRF protection enabled
Backup and Recovery
Before Installation:
# Backup database
pg_dump -U odoo -d production_db > backup_before_rating_module.sql
# Backup filestore
tar -czf filestore_backup.tar.gz /path/to/odoo/filestore
Rollback Procedure:
- Uninstall module from Apps menu
- Restore database from backup if needed
- Restart Odoo server
- Verify system functionality
Upgrading
Future Upgrades:
- Backup database before upgrade
- Download new module version
- Replace module files
- Restart Odoo server
- Update module from Apps menu
- Review changelog for breaking changes
- Test functionality thoroughly
Frequently Asked Questions
General Questions
Q: What happens to my existing ratings?
A: All existing ratings are automatically migrated from the 0-3 scale to the 0-5 scale during installation. The mapping is: 0→0, 1→3, 2→4, 3→5.
Q: Can customers change their rating?
A: Yes, if a customer clicks the rating link again, their previous rating will be updated (not duplicated).
Q: Do I need to configure anything after installation?
A: No, the module works out of the box. All existing functionality is automatically updated.
Q: Is the module compatible with other Odoo apps?
A: Yes, the module maintains full API compatibility with Odoo's rating system and works with all standard modules.
Customer Questions
Q: How do I rate a ticket?
A: Click on any of the 5 stars in the rating request email, or use the web form to select your rating.
Q: What if I accidentally click the wrong star?
A: You can click the rating link again and select a different rating. Your previous rating will be updated.
Q: Can I rate a ticket without logging in?
A: Yes, rating links use secure tokens so you don't need to log in.
Q: What do the stars mean?
A: 1 star = Very Dissatisfied, 2 stars = Dissatisfied, 3 stars = Neutral, 4 stars = Satisfied, 5 stars = Very Satisfied.
Agent Questions
Q: Where can I see ratings in the backend?
A: Ratings appear in ticket form views, list views, and kanban views as star icons.
Q: How do I filter tickets by rating?
A: Use the filter options in the ticket list view to filter by rating value (1-5 stars).
Q: Can I manually add a rating?
A: Yes, if you have the appropriate permissions, you can create or modify ratings in the backend.
Manager Questions
Q: How are average ratings calculated?
A: Average ratings are calculated using the 0-5 scale. For example, if you have ratings of 3, 4, and 5, the average is 4.0.
Q: Can I export rating data?
A: Yes, you can export rating data from the reporting views in Excel, CSV, or PDF format.
Q: How do I compare team performance?
A: Use the rating report and group by team to compare average ratings across teams.
Administrator Questions
Q: How long does migration take?
A: Migration time depends on the number of existing ratings. Typically, it takes a few seconds to a few minutes.
Q: Can I customize the star icons?
A: Yes, you can edit the SCSS file to customize star appearance or replace with custom icons.
Q: What if migration fails?
A: Check the server logs for errors. You may need to fix data issues and reinstall the module.
Q: Is the module secure?
A: Yes, the module implements token-based authentication, server-side validation, and follows Odoo security best practices.
Support
For additional support:
- Documentation: Review the README.md and index.html files
- Logs: Check Odoo server logs for error messages
- Administrator: Contact your Odoo system administrator
- Source Code: Consult the module source code for technical details
Version: 1.0
Last Updated: 2024-11-25
Module: helpdesk_rating_five_stars