[IMP] set ids.

bzr revid: nco@tinyerp.com-20130621062345-4aqhvuzxn6godrym
This commit is contained in:
Nimesh Contractor (OpenERP)
2013-06-21 11:53:45 +05:30
parent 1b5e51e2e8
commit 78619253d2
+1 -1
View File
@@ -587,7 +587,7 @@ property or property parameter."),
"""
if context is None:
context = {}
return self.write(cr, uid, vals.id, {'state': 'accepted'}, context)
return self.write(cr, uid, ids, {'state': 'accepted'}, context)
def do_decline(self, cr, uid, ids, context=None, *args):
"""