Commit 8113cdc6 authored by Etienne Allovon's avatar Etienne Allovon

3386 - fix relationship to labels

parent 44249b92
......@@ -143,7 +143,8 @@ class UserFeatures(Base):
UserLine.main_line == True)""")
voicemail = relationship("Voicemail")
cti_profile = relationship("CtiProfile")
labels = relationship("UserLabels")
labels = relationship("UserLabels",
primaryjoin="""UserFeatures.id == UserLabels.user_id""")
def extrapolate_caller_id(self, extension=None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment