The big-box chain formally accused Tesla of breach of contract, gross negligence and failure to meet industry standards. It wanted Tesla to not only pay damages related to the first, but to remove its panels from over 240 Walmart stores.

We've asked Tesla for comment.

There's a good possibility Tesla will fight back, though. The company has been struggling to revive its solar business, which installed a modest 29MW of solar power capacity in the second quarter compared to more than 200MW at the division's peak. The last thing it needs is to lose a major deployment and suffer the negative publicity that comes with that loss.

Update 8/23 12:30PM ET: The two companies have issued a joint statement indicating that they're making amends. Walmart isn't kicking Tesla to the curb -- it just wants the solar panels to be reliable and safe. You can read the full statement below.