hello I try to add new values in the context with the new api but after many try we did'nt sucess.
What we have try :
self.with_context(get_sizes=True)
print self.env.context
self.with_context({'get_sizes': True, 'free_ref': free_ref})
self.with_context().create(get_sizes=True)
you can use
for old version
self._context.update( { 'key': 'val' } )
or
self.env.context.update( { 'key': 'val' } )
that will add values in context