Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

 1 Comment(s)

  • I would like to correct a bit. 'write' method is used to modify a record with given values in the dictionary. Where the key is the name of the field and the value is the new data to be changed on that field (according to the type of the field).

    According to new API, we use self.write({'test': 'demo'})

    self = current object containing current record, 'test' = name of the field, 'demo' = new value to be replaced

    I hope this helps. Thanks.

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: