diff --git a/bin/osv/osv.py b/bin/osv/osv.py index 6f85cd6d2ca..5f583b894c9 100644 --- a/bin/osv/osv.py +++ b/bin/osv/osv.py @@ -132,7 +132,7 @@ class osv_pool(netsvc.Service): raise except_osv('Access Denied', 'Private methods (such as %s) cannot be called remotely.' % (method,)) res = pool.execute_cr(cr, uid, obj, method, *args, **kw) if res is None: - self.logger.warning('RPC methods cannot return `None` at the moment!') + self.logger.warning('The method %s of the object %s can not return `None` at the moment!', method, obj ) cr.commit() except Exception: cr.rollback()