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
20 lines
468 B
Python
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",
|
|
)
|