Common Odoo Issues & Solutions
Odoo Overview → Troubleshooting
Database issues
Access Denied
# Check PostgreSQL connection
psql -h localhost -U odoo -d odoo_testDatabase locked
# Clear locked records
DELETE FROM ir_attachment WHERE datas_fname IS NULL;Performance issues
Slow search views
- Enable proper indexes
- Use
LIMITon search - Check
[[Performance Tuning]]
Memory issues
# Worker configuration
workers = (CPU_COUNT * 2) + 1Module installation
Dependency missing
# Check module dependencies
odoo -c odoo.conf -u module_name -d db_name --stop-after-initXML parsing error
- Check view inheritance references
- Validate XML syntax
- Ensure
archattribute correct
CRM automation issues
Batch read returns empty
- Use batches of 5 max (not 20+)
- Add
active_test=Falsecontext flag
Email not sending
- Add customer email as
mail.followers - Odoo blocks sending if recipient not follower