Skip to content
Snippets Groups Projects
Commit f8b78a13 authored by Kamen Zhekov's avatar Kamen Zhekov
Browse files

[FIX] Adding error message instead of traceback when cropping pictograms


Description of the issue/feature this PR addresses:
When trying to crop pictograms, a traceback was issued because they are icons, not images.

Current behavior before PR:
The user was able to invoke the cropping action on pictograms and received an internal error.

Desired behavior after PR is merged:
The user now receives an error message stating that pictograms cannot be cropped and no traceback.

OPW: 2497084

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

closes odoo/odoo#70142

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent b099af87
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment