add moudle hr_managment

This commit is contained in:
NDD2k1
2025-06-06 17:38:33 +07:00
parent 983b76ba74
commit c14047b840
8 changed files with 144 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 HrManagment(http.Controller):
# @http.route('/hr_managment/hr_managment', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/hr_managment/hr_managment/objects', auth='public')
# def list(self, **kw):
# return http.request.render('hr_managment.listing', {
# 'root': '/hr_managment/hr_managment',
# 'objects': http.request.env['hr_managment.hr_managment'].search([]),
# })
# @http.route('/hr_managment/hr_managment/objects/<model("hr_managment.hr_managment"):obj>', auth='public')
# def object(self, obj, **kw):
# return http.request.render('hr_managment.object', {
# 'object': obj
# })