clinic management

This commit is contained in:
XuanHuyen
2025-03-22 09:11:09 +07:00
parent 37590ce057
commit 662726af4e
21 changed files with 587 additions and 0 deletions
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# from odoo import http
# class ClinicManagement(http.Controller):
# @http.route('/clinic_management/clinic_management', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/clinic_management/clinic_management/objects', auth='public')
# def list(self, **kw):
# return http.request.render('clinic_management.listing', {
# 'root': '/clinic_management/clinic_management',
# 'objects': http.request.env['clinic_management.clinic_management'].search([]),
# })
# @http.route('/clinic_management/clinic_management/objects/<model("clinic_management.clinic_management"):obj>', auth='public')
# def object(self, obj, **kw):
# return http.request.render('clinic_management.object', {
# 'object': obj
# })