14 lines
366 B
Python
14 lines
366 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
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
|