Skip to content

Commit

Permalink
shopfloor: force icon size in packaging data
Browse files Browse the repository at this point in the history
  • Loading branch information
JuMiSanAr authored and c2c committed Jan 11, 2024
1 parent 1a4f3f5 commit d6085d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopfloor/actions/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def _packaging_icon_data(self, rec, field):
icon_data = {"alt_text": rec.packaging_type_id.name}
if not rec.packaging_type_id.shopfloor_icon:
return icon_data
icon_data["url"] = "/web/image/product.packaging.type/{}/shopfloor_icon/".format(
icon_data["url"] = "/web/image/product.packaging.type/{}/shopfloor_icon/30x30".format(
rec.packaging_type_id.id
)
return icon_data
Expand Down

0 comments on commit d6085d9

Please sign in to comment.