From 6628249dfd0bcf628414ea67ac87a92d924da979 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 4 Nov 2008 11:30:56 +0100 Subject: [PATCH] Guidelines --- party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/party.py b/party.py index 32b14712fc..da7a4e6f37 100644 --- a/party.py +++ b/party.py @@ -141,7 +141,7 @@ class Party(OSV): """ address_obj = self.pool.get("party.address") address_ids = address_obj.search( - cursor, user, [("party","=",party_id),("active","=",True)], + cursor, user, [("party", "=", party_id), ("active", "=", True)], order=[('sequence', 'ASC'), ('id', 'ASC')], context=context) if not address_ids: return False