It could be a bad new battery, or the issue could have occurred when the old battery was installed which could have been the death blow to it and is what is draining your new battery.
Of course your best option is to find the draw and fix it, but there are some alternatives. I'm presuming this is a slow draw and takes a week or so to drain the battery. If it does dead in a day or two you need to find and fix the issue. One way to track down the issue is to pull all but one fuse and see if the battery dies over a week or so. If no, insert another fuse and wait and watch again. Eventually you will find the circuit that is causing the drain.
One option is to put a switch between your battery and fuse box. A slow drain is likely coming from an accessory or something that is powered out of that fuse box. You simply switch off power to the fuse box when your done using the tractor.
Another is a maintainer/charger. I have power, so I actually put cheap maintainers/chargers on all off my cars, trucks, tractors, UTVs, and such. I simply wire them with an easy to access power connector. I then plug the charger into that port when not in use. Sometimes my equipment sits and a lead-acid battery will naturally drain slowly over time. Keeping a lead-acid battery at a low state of charge for a long period will significantly shorten the lifespan.
While I don't use solar chargers on my equipment, I do use them on my camera system. You need to buy a PWM or MPPT solar charge controller. It will connect to your solar panel on one end and then have an output to connect to your battery. You will need to find the appropriate cabling for your charger. Most take a stripped wire end held with a set screw for connections. Personally, I would wire an SAE power connector to your tractor battery and put one on the wire from the solar charge controller. This makes hookup easy. Personally, I put blaze orange flagging tape on this power cord and drape it over the tractor cowling so I don't accidently drive off without removing it.
I think MPPT charge controllers are a little better than PWM. You can get them for about $25. You should not need more than 10 amps if you are just charging a tractor battery and have good sun. I'd suggest doing this for cold weather whether you find and fix the power draw or not.