Skip to content

Commit

Permalink
[14.0][FIX]dms
Browse files Browse the repository at this point in the history
  • Loading branch information
adasatorres committed Feb 7, 2024
1 parent 508d357 commit da77722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dms/models/dms_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def _compute_path(self):
"id": isinstance(record.id, int) and record.id or 0,
}
]
current_dir = record.directory_id
current_dir = model.browse(record.directory_id.id)
while current_dir:
path_names.insert(0, current_dir.name)
path_json.insert(
Expand Down

0 comments on commit da77722

Please sign in to comment.