[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
parent 5249f293fd
commit 56a1e71cc5

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)