diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2010-06-12 18:49:35 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2010-06-12 18:49:35 +0200 |
| commit | fd1c8a5b83fab596d637c0ddf36b59f7fb09e78d (patch) | |
| tree | 4ec77320e9bd82b9850de63cd671c58ac614118f /bin/osv/osv.py | |
| parent | c32941433839a80414e1ec3b1eadb962267f4c1c (diff) | |
[FIX] null properties
bzr revid: fp@tinyerp.com-20100612164935-b1a3hx7ron32kwxk
Diffstat (limited to 'bin/osv/osv.py')
| -rw-r--r-- | bin/osv/osv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/osv/osv.py b/bin/osv/osv.py index 5f583b894c9..7f39d5261aa 100644 --- a/bin/osv/osv.py +++ b/bin/osv/osv.py @@ -131,8 +131,9 @@ class osv_pool(netsvc.Service): if method.startswith('_'): 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) + print 'Got RES', res if res is None: - self.logger.warning('The method %s of the object %s can not return `None` at the moment!', method, obj ) + self.logger.warning('The method %s of the object %s can not return `None` !', method, obj) cr.commit() except Exception: cr.rollback() |
