code: def update_translations(ctx, module_list):
      
      if not module_list:
          raise AnthemError(u"You have to provide a list of "
                            "module's name to update the translations")
  
      for module in module_list:
          ctx.env['ir.module.module'].with_context(overwrite=True).search(
              [('name', '=', module)]).update_translations()
docs: Update translations from module list