Hi,
i have a function here:
def btnSet(self,cr,uid,ids,values,context=None):
self.write(cr,uid,ids,{'current':'true'})
return True
I know that ids is the id record , for example self.write(cr,uid,[1],{'current':'true'})
[1] -> for one only. [1,2,3]-> for multiple record [???] -> for all, (just with the same uid, not all record with varying uid)
record 1's current field will be set to 'true' what if i want all record for that certain uid? (its like changing all the values of 'current' field to true.
self.write(cr,uid,????,{'current':'true'})