Wrong ID for browse record (trunk)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi!
Trunk version.
I've tried to delete the value of a property and save it. After that I get the error message. I've changed the print to include the type of the variable.
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
for pl in self.browse(cr, uid, ids, context):
File "/home/
return self._list_
File "/home/
assert id and isinstance(id, (int, long,)), _('Wrong ID for the browse record, got %r, type %s, expectedan integer.') % (id, type(id))
AssertionError: Wrong ID for the browse record, got 0, type <type 'int'>, expected an integer.
Hello Dukai,
Can you provide more information exactly how you got this error?
I couldn't reproduce.
Thanks.