[FIX] web: clear filename if image error
[FIX] web: clear filename if image error

When the user chooses as product image a file which is not an image, the
message "Could not display the selected image" is displayed. However, at
saving, a traceback is thrown since the file chosen is uploaded anyway.

If the image cannot be displayed, the image field is cleared.

opw-672206

tvibliani/odoo,MarcosCommunity/odoo,BT-rmartin/odoo,funkring/fdoo,MarcosCommunity/odoo,factorlibre/OCB,funkring/fdoo,NeovaHealth/odoo,tvibliani/odoo,Noviat/odoo,Endika/odoo,Daniel-CA/odoo,factorlibre/OCB,makinacorpus/odoo,tvibliani/odoo,Endika/OpenUpgrade,sysadminmatmoz/OCB,leorochael/odoo,jiangzhixiao/odoo,diagramsoftware/odoo,datenbetrieb/odoo,vnsofthe/odoo,mustafat/odoo-1,Endika/OpenUpgrade,bplancher/odoo,ehirt/odoo,synconics/odoo,Nowheresly/odoo,jfpla/odoo,jfpla/odoo,microcom/odoo,BT-ojossen/odoo,Nowheresly/odoo,makinacorpus/odoo,odootr/odoo,bplancher/odoo,Daniel-CA/odoo,sergio-incaser/odoo,hip-odoo/odoo,leorochael/odoo,tvibliani/odoo,BT-ojossen/odoo,Endika/OpenUpgrade,OpenUpgrade/OpenUpgrade,synconics/odoo,provaleks/o8,shingonoide/odoo,eino-makitalo/odoo,Daniel-CA/odoo,Adel-Magebinary/odoo,laslabs/odoo,diagramsoftware/odoo,glovebx/odoo,mustafat/odoo-1,MarcosCommunity/odoo,BT-rmartin/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,diagramsoftware/odoo,funkring/fdoo,alexcuellar/odoo,NeovaHealth/odoo,provaleks/o8,Endika/odoo,diagramsoftware/odoo,Adel-Magebinary/odoo,alexcuellar/odoo,NeovaHealth/odoo,MarcosCommunity/odoo,sysadminmatmoz/OCB,shingonoide/odoo,sergio-incaser/odoo,OpenUpgrade/OpenUpgrade,Daniel-CA/odoo,Nowheresly/odoo,diagramsoftware/odoo,tvibliani/odoo,datenbetrieb/odoo,sergio-incaser/odoo,Noviat/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,NeovaHealth/odoo,alexcuellar/odoo,Nowheresly/odoo,grap/OpenUpgrade,eino-makitalo/odoo,sergio-incaser/odoo,storm-computers/odoo,Endika/OpenUpgrade,makinacorpus/odoo,factorlibre/OCB,mustafat/odoo-1,MarcosCommunity/odoo,hassoon3/odoo,leorochael/odoo,dfang/odoo,Noviat/odoo,shingonoide/odoo,datenbetrieb/odoo,jiangzhixiao/odoo,sysadminmatmoz/OCB,glovebx/odoo,CatsAndDogsbvba/odoo,alexcuellar/odoo,grap/OpenUpgrade,glovebx/odoo,microcom/odoo,shingonoide/odoo,synconics/odoo,ehirt/odoo,synconics/odoo,Elico-Corp/odoo_OCB,CatsAndDogsbvba/odoo,eino-makitalo/odoo,dfang/odoo,BT-ojossen/odoo,synconics/odoo,provaleks/o8,sysadminmatmoz/OCB,laslabs/odoo,provaleks/o8,shingonoide/odoo,jfpla/odoo,CatsAndDogsbvba/odoo,funkring/fdoo,dfang/odoo,OpenUpgrade/OpenUpgrade,CatsAndDogsbvba/odoo,funkring/fdoo,odootr/odoo,ygol/odoo,storm-computers/odoo,Noviat/odoo,BT-ojossen/odoo,hassoon3/odoo,bplancher/odoo,odootr/odoo,vnsofthe/odoo,odootr/odoo,markeTIC/OCB,grap/OpenUpgrade,leorochael/odoo,OpenUpgrade/OpenUpgrade,Endika/odoo,BT-ojossen/odoo,BT-rmartin/odoo,ygol/odoo,synconics/odoo,hassoon3/odoo,funkring/fdoo,diagramsoftware/odoo,CatsAndDogsbvba/odoo,hassoon3/odoo,Adel-Magebinary/odoo,hip-odoo/odoo,Noviat/odoo,NeovaHealth/odoo,datenbetrieb/odoo,Elico-Corp/odoo_OCB,odootr/odoo,grap/OpenUpgrade,glovebx/odoo,ygol/odoo,jiangzhixiao/odoo,factorlibre/OCB,hassoon3/odoo,sergio-incaser/odoo,grap/OpenUpgrade,BT-rmartin/odoo,makinacorpus/odoo,datenbetrieb/odoo,hip-odoo/odoo,eino-makitalo/odoo,Elico-Corp/odoo_OCB,glovebx/odoo,BT-rmartin/odoo,markeTIC/OCB,Nowheresly/odoo,vnsofthe/odoo,Daniel-CA/odoo,odootr/odoo,storm-computers/odoo,dfang/odoo,factorlibre/OCB,makinacorpus/odoo,MarcosCommunity/odoo,jfpla/odoo,jfpla/odoo,ehirt/odoo,leorochael/odoo,Adel-Magebinary/odoo,spadae22/odoo,alexcuellar/odoo,alexcuellar/odoo,OpenUpgrade/OpenUpgrade,OpenUpgrade/OpenUpgrade,BT-rmartin/odoo,Nowheresly/odoo,spadae22/odoo,Nowheresly/odoo,funkring/fdoo,storm-computers/odoo,mustafat/odoo-1,jiangzhixiao/odoo,Endika/OpenUpgrade,leorochael/odoo,microcom/odoo,glovebx/odoo,markeTIC/OCB,Adel-Magebinary/odoo,BT-ojossen/odoo,markeTIC/OCB,Endika/odoo,eino-makitalo/odoo,provaleks/o8,spadae22/odoo,glovebx/odoo,bplancher/odoo,sysadminmatmoz/OCB,ehirt/odoo,BT-rmartin/odoo,jiangzhixiao/odoo,diagramsoftware/odoo,laslabs/odoo,Adel-Magebinary/odoo,OpenUpgrade/OpenUpgrade,grap/OpenUpgrade,mustafat/odoo-1,ehirt/odoo,grap/OpenUpgrade,storm-computers/odoo,eino-makitalo/odoo,vnsofthe/odoo,markeTIC/OCB,Endika/odoo,Daniel-CA/odoo,spadae22/odoo,bplancher/odoo,alexcuellar/odoo,hip-odoo/odoo,markeTIC/OCB,leorochael/odoo,Adel-Magebinary/odoo,microcom/odoo,vnsofthe/odoo,CatsAndDogsbvba/odoo,jiangzhixiao/odoo,makinacorpus/odoo,Elico-Corp/odoo_OCB,spadae22/odoo,ehirt/odoo,ygol/odoo,Daniel-CA/odoo,datenbetrieb/odoo,ygol/odoo,NeovaHealth/odoo,NeovaHealth/odoo,vnsofthe/odoo,dfang/odoo,hip-odoo/odoo,bplancher/odoo,hassoon3/odoo,sysadminmatmoz/OCB,jfpla/odoo,sergio-incaser/odoo,dfang/odoo,jiangzhixiao/odoo,datenbetrieb/odoo,vnsofthe/odoo,tvibliani/odoo,sysadminmatmoz/OCB,mustafat/odoo-1,makinacorpus/odoo,tvibliani/odoo,spadae22/odoo,factorlibre/OCB,eino-makitalo/odoo,Endika/OpenUpgrade,Endika/odoo,spadae22/odoo,Noviat/odoo,storm-computers/odoo,provaleks/o8,shingonoide/odoo,MarcosCommunity/odoo,mustafat/odoo-1,Noviat/odoo,factorlibre/OCB,ygol/odoo,microcom/odoo,markeTIC/OCB,microcom/odoo,shingonoide/odoo,ehirt/odoo,synconics/odoo,CatsAndDogsbvba/odoo,Endika/OpenUpgrade,laslabs/odoo,provaleks/o8,ygol/odoo,MarcosCommunity/odoo,BT-ojossen/odoo,laslabs/odoo,Endika/odoo,jfpla/odoo,odootr/odoo