Hi i cant insert something, there is always this message:
Odoo Server Error
Traceback (most recent call last):
File "/home/market/OCB/openerp/http.py", line 546, in handleexception
return super(JsonRequest, self).handleexception(exception)
File "/home/market/OCB/openerp/http.py", line 583, in dispatch
result = self.callfunction(**self.params)
File "/home/market/OCB/openerp/http.py", line 319, in callfunction
return checked_call(self.db, *args, **kwargs)
File "/home/market/OCB/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/home/market/OCB/openerp/http.py", line 316, in checked_call
return self.endpoint(*a, **kw)
File "/home/market/OCB/openerp/http.py", line 812, in call
return self.method(*args, **kw)
File "/home/market/OCB/openerp/http.py", line 412, in response_wrap
response = f(*args, **kw)
File "/home/market/OCB/addons/web/controllers/main.py", line 944, in call_kw
return self.callkw(model, method, args, kwargs)
File "/home/market/OCB/addons/web/controllers/main.py", line 936, in callkw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/market/OCB/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/home/market/OCB/openerp/api.py", line 372, in old_api
result = method(recs, *args, **kwargs)
File "/home/market/addons-fm/product_custom/models/product_template.py", line 62, in create
p = super(ProductTemplateCustom, self).create(new_vals)
File "/home/market/addons-fm/product_image_from_url/product_image_url.py", line 41, in create
img = self.get_remote_image(vals.get('image_url'))
File "/home/market/addons-fm/product_image_from_url/product_image_url.py", line 63, in get_remote_image
except Exception.TypeError as e:
AttributeError: type object 'exceptions.Exception' has no attribute 'TypeError'