This commit is contained in:
2026-01-10 10:34:00 +01:00
parent 8fd8de607f
commit 2e80c19e0e

View File

@@ -93,6 +93,7 @@ class Model(
cursor.execute(*ir_model.select(ir_model.id,
where=ir_model.model == model.__name__))
model_id = None
logger.info("MODEL_NAME:%s",model.__name__)
if cursor.rowcount == -1 or cursor.rowcount is None:
data = cursor.fetchone()
if data: