Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Dec 20, 2024
1 parent 0b14877 commit 1a6fb0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apptax/taxonomie/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@ class Taxref(db.Model):

status = db.relationship("VBdcStatus", order_by="VBdcStatus.lb_type_statut")
synonymes = db.relationship(
"Taxref", foreign_keys=[cd_ref], primaryjoin="Taxref.cd_ref == Taxref.cd_ref", uselist=True
"Taxref",
foreign_keys=[cd_ref],
primaryjoin="Taxref.cd_ref == Taxref.cd_ref",
uselist=True,
post_update=True,
)
parent = db.relationship("Taxref", primaryjoin=foreign(cd_sup) == remote(cd_ref))
attributs = db.relationship("CorTaxonAttribut", back_populates="taxon")
Expand Down

0 comments on commit 1a6fb0a

Please sign in to comment.