Skip to content

Commit

Permalink
Merge PR #352 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Aug 5, 2024
2 parents 4f22cde + 56ed9e6 commit 4b0de02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ export const DMSListControllerObject = {
file.permission_write && (!file.is_locked || file.is_lock_editor),
perm_unlink:
file.permission_unlink && (!file.is_locked || file.is_lock_editor),
icon_url: file.icon_url,
});
var dt = this.makeDataPoint({
data: data,
Expand Down Expand Up @@ -413,6 +414,7 @@ export const DMSListControllerObject = {
"permission_create",
"permission_write",
"permission_unlink",
"icon_url",
"name",
"mimetype",
"directory_id",
Expand Down
2 changes: 1 addition & 1 deletion dms_field/static/src/views/dms_list/dms_list_renderer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
>
<img
class="h-100 w-100"
t-attf-src="/web/image/dms.file/{{nodeSelectedState.data.data.id}}/image_256/256x256?crop=1"
t-att-src="nodeSelectedState.data.data.icon_url"
/>
</a>
</div>
Expand Down

0 comments on commit 4b0de02

Please sign in to comment.