add education module

This commit is contained in:
2025-02-21 18:00:17 +07:00
parent 73cb3bd36c
commit 2b170da354
12 changed files with 175 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import controllers
+22
View File
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# from odoo import http
# class Education(http.Controller):
# @http.route('/education/education', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/education/education/objects', auth='public')
# def list(self, **kw):
# return http.request.render('education.listing', {
# 'root': '/education/education',
# 'objects': http.request.env['education.education'].search([]),
# })
# @http.route('/education/education/objects/<model("education.education"):obj>', auth='public')
# def object(self, obj, **kw):
# return http.request.render('education.object', {
# 'object': obj
# })