AttributeError: 'bool' object has no attribute 'startswith'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
Using magentoerpconnect, I tried to duplicate a product exported to Magento and I got:
Server Traceback (most recent call last):
File "/Users/
result = openerp.
File "/Users/
result = ExportService.
File "/Users/
res = fn(db, uid, *params)
File "/Users/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/Users/
return f(self, dbname, *args, **kwargs)
File "/Users/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/Users/
return getattr(object, method)(cr, uid, *args, **kw)
File "/Users/
result = self._read_flat(cr, user, select, fields, context, load)
File "/Users/
res2 = self._columns[
File "/Users/
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/Users/
res[id] = image.file
File "/Users/
return self[name]
File "/Users/
field_values = self._table.
File "/Users/
result = self._read_flat(cr, user, select, fields, context, load)
File "/Users/
res2 = self._columns[
File "/Users/
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/Users/
res[each] = self.get_image(cr, uid, each, context=context)
File "/Users/
full_path = os.path.
File "/Users/
if b.startswith('/'):
AttributeError: 'bool' object has no attribute 'startswith'
Changed in openobject-addons: | |
status: | New → Triaged |
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Wishlist |
When duplicating a product with images, product_code is empty and generate this error.