Skip to content

Commit

Permalink
FIX: bug on reference tree
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Oct 18, 2024
1 parent c6ef5bd commit 1ec7e32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plm/models/ir_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,9 @@ def _getRelatedPrTree(doc_id):
return list(set(out))

@api.model
def getRelatedRfTree(self, doc_id, recursion=True, evaluated=[]):
def getRelatedRfTree(self, doc_id, recursion=True, evaluated=False):
if not evaluated:
evaluated=[]
out = []
if not doc_id:
logging.warning('Cannot get links from %r document' % (doc_id))
Expand Down

0 comments on commit 1ec7e32

Please sign in to comment.