update education module
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user