I'll confirm what fishbulb and rjniles say. This type of wiring is legal for a 240V-only oven, which may have been what came out. However, 240V-only ovens do not support common-as-dirt incandescent lights for oven lights (unless they include a transformer, which is unusual).
The only reason your new oven wants neutral is for the oven light and possibly controls. Either consult the manufacturer or get a different oven.
However, there are other serious problems with the workmanship in your photo.
- The cable is too short. It needs 6" of free length beyond the end of the sheath.
- The cable enters the junction box without a cable clamp on the sheath.
- The top knockout, well, the oven may use that.
- There is no physical protection for the cable.
Also watch your amps and wire size. Your cable smells like 12 AWG, which is too light for a 24A oven (but fine for a 16A oven). You'd be better off installing 10/3 cable, as that is more versatile and will support other ovens. Even better is 8/3 since that will support combo range/ovens.
The only reason your new oven wants neutral is for the oven light and possibly controls. Either consult the manufacturer or get a different oven.
However, there are other serious problems with the workmanship in your photo.
- The cable is too short. It needs 6" of free length beyond the end of the sheath.
- The cable enters the junction box without a cable clamp on the sheath.
- The top knockout, well, the oven may use that.
- There is no physical protection for the cable.
Also watch your amps and wire size. Your cable smells like 12 AWG, which is too light for a 24A oven (but fine for a 16A oven). You'd be better off installing 10/3 cable, as that is more versatile and will support other ovens. Even better is 8/3 since that will support combo range/ovens.