Typically, all chords on Stradella bass accordions are three-note voicings.
So when the chord is a triad, like Maj and Min, you get all the notes in the chord, including the root.
When the chord is a four-note chord, like 7th and Dim7, a choice is made as to which note to leave out. When it's a full "6 column" bass with a diminished chord row, it's usually the fifth that is omitted.*
But when there are just 5 columns, when there are no Dim7 chord buttons, it's common to omit the root of the 7th chord. SInce the upper structure of any dominant 7th chord is a diminished triad, this lets that column serve double-duty as both a 7th chord and (if you move one row over from the root) a Dim triad.
* For a 7th chord, the fifth adds the least amount of information to the chord and can be gotten rid of without too much difference. For a Dim7, the "fifth" (really a flat fifth, of course) can also be removed without too much musical impact, plus, since Dim7 chords invert into other Dim7 chords, you can easily get back to the full, four-note Dim7 by combining the root with the version of the Dim7 where the note that's left out is that root. For example, B bass (as counter bass of G) combined with Fdim7 chord (which leaves out the B) gives you a "true" Bdim7.