[FIX] update method is accessible from XML/RPC and should return something else than None which is forbidden

This commit is contained in:
Lorenzo Battistini
2012-12-06 15:47:51 +01:00
committed by Sylvain GARANCHER
parent ced1d0c13d
commit 6930c5cf6e

View File

@@ -152,6 +152,7 @@ class printing_printer(osv.osv):
self.lock.release() self.lock.release()
if not updating: if not updating:
break break
return True
def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False): def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
self.update(cr, uid, context) self.update(cr, uid, context)