From 2779337aafc12faf2f5a310b3382fee5a4f64644 Mon Sep 17 00:00:00 2001 From: jacquesfize Date: Thu, 28 Nov 2024 16:53:57 +0100 Subject: [PATCH] fix(model): add serializable decorator to Provider. It caused problems when exporting pdf of AF --- src/pypnusershub/db/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pypnusershub/db/models.py b/src/pypnusershub/db/models.py index 456fded..c1fbb2d 100644 --- a/src/pypnusershub/db/models.py +++ b/src/pypnusershub/db/models.py @@ -484,6 +484,7 @@ class UserList(db.Model): users = db.relationship(User, secondary=cor_role_liste) +@serializable class Provider(db.Model): __tablename__ = "t_providers" __table_args__ = {"schema": "utilisateurs"}