Don't display error message on attachment count
This commit is contained in:
1 parent
9c7e32b128
commit
f35c94ab30
1 file changed
+1
-2
@@ -324,7 +324,6 @@ class ModelRecord(SignalEvent):
|
||||
('res_model', '=', self.resource),
|
||||
('res_id', '=', self.id),
|
||||
])
|
||||
except Exception, exception:
|
||||
rpc.process_exception(exception, self.window)
|
||||
except:
|
||||
return 0
|
||||
return self.attachment_count
|
||||
Reference in new issue
Block a user