TypeError: create() got multiple values for keyword argument 'context'
I got an error like this: TypeError: create () got multiple values for keyword argument 'context' This is the code: mov_id = self.create(cr, uid, ids, {'so_ids':so, 'product_ids':product},context=context) What's the problem? To create a record, the parameters are cursor, user_id, dictionary of values and context. for example mov_id = self.create(cr, uid, {'so_ids': so, 'product_ids': product},context=context) create doesnt take any ids, if you are trying to use copy, then use mov_id = self.copy(cr, uid, ids, {'so_ids':so, 'product_ids':product},context=context) self.create(cr, uid, {'so_ids'