Files
encoach_be_odoo19/encoach_training/models/walkthrough.py
Talal Sharabi f5b627256f EnCoach Odoo 19 custom modules
Full backend implementation with custom Odoo modules:
- encoach_api: Core API, user management, JWT auth
- encoach_exam: Exam generation (reading, writing, listening, speaking)
- encoach_evaluate: AI-powered evaluation (writing, speaking)
- encoach_training: Training tips and walkthrough
- encoach_storage: File storage management
- encoach_payment: Stripe, PayPal, Paymob integration
- encoach_mail: Email notifications

Made-with: Cursor
2026-03-14 16:46:46 +04:00

20 lines
468 B
Python

from odoo import models, fields
class EncoachWalkthrough(models.Model):
_name = "encoach.walkthrough"
_description = "EnCoach Walkthrough"
name = fields.Char()
content = fields.Json()
module = fields.Selection(
[
("reading", "Reading"),
("listening", "Listening"),
("writing", "Writing"),
("speaking", "Speaking"),
("level", "Level"),
],
string="Module",
)