Get ir.model Model from the pool

Closes #14131
This commit is contained in:
Nicolas Évrard
2025-07-23 18:01:24 +02:00
parent 9a94f06da6
commit 8d7279778b
+3
View File
@@ -344,6 +344,9 @@ class ModelField(
@classmethod
def register(cls, model, module_name, model_id):
pool = Pool()
Model = pool.get('ir.model')
cursor = Transaction().connection.cursor()
ir_model_field = cls.__table__()