[7.0] mass_editing - can't search an ir.model.fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Server Environment And Tools |
New
|
Undecided
|
Unassigned |
Bug Description
server-
steps
- install mass_editing and email_template
- go to settings, technical, email, templates
- open a template, go to 'field' field and click 'search more'
Get
2013-08-02 08:51:31,513 6071 ERROR test_70 openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
model_domain += [('model_id', 'in', map(int, domain[
TypeError: 'int' object has no attribute '__getitem__'
2013-08-02 08:51:31,514 6071 ERROR test_70 openerp.netsvc: 'int' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
model_domain += [('model_id', 'in', map(int, domain[
TypeError: 'int' object has no attribute '__getitem__'
What's the purpose of overriding the search method of ir.model.fields?
For now I fixed removing it