code: def with_context(cls, *args, **kwargs):
          
          context = dict(args[0] if args else cls.env.context, **kwargs)
          return cls.with_env(cls.env(context=context))
docs: Return a model (or recordset) equivalent to the current model
          (or recordset) attached to an environment with another context.
          The context is taken from the current environment or from the
          positional arguments `args` if given, and modified by `kwargs`.
  
          Thus, the following two examples are equivalent:
  
          .. doctest::
  
              >>> Product = odoo.env['product.product']
              >>> Product.with_context(lang='fr_FR')
              Model('product.product')
  
          .. doctest::
  
              >>> context = Product.env.context
              >>> Product.with_context(context, lang='fr_FR')
              Model('product.product')
  
          This method is very convenient for example to search records
          whatever their active status are (active/inactive):
  
          .. doctest::
  
              >>> all_product_ids = Product.with_context(active_test=False).search([])
  
          Or to update translations of a recordset:
  
          .. doctest::
  
              >>> product_en = Product.browse(1)
              >>> product_en.env.lang
              'en_US'
              >>> product_en.name = "My product"  # Update the english translation
              >>> product_fr = product_en.with_context(lang='fr_FR')
              >>> product_fr.env.lang
              'fr_FR'
              >>> product_fr.name = "Mon produit" # Update the french translation