Guidelines

This commit is contained in:
Bertrand Chenal
2008-11-04 11:30:56 +01:00
parent d80bc1f338
commit 6628249dfd
+1 -1
View File
@@ -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