update education module

This commit is contained in:
2025-02-26 16:28:17 +07:00
parent bc4a67a616
commit f79a7fe0b9
19 changed files with 378 additions and 137 deletions
+9
View File
@@ -2,3 +2,12 @@
from . import controllers
from . import models
from . import wizard
def add_school_hook(env): # Ensure both cr and registry are accepted
data = [
{"name": "Haiphong University", "code": "THP"},
{"name": "Hanoi University", "code": "HANU"},
]
env["education.school"].create(data) # Close the function properly