Heat 2 tablespoons of olive oil in a skillet over medium-low heat. Add in the onion, garlic, mushrooms and cumin, and stir-fry them for 5 minutes, adding a splash of water if necessary. Season with ¼ teaspoon (or to taste) of sea salt and freshly-cracked black pepper.
Transfer the pinto beans in a large bowl and mash them thoroughly with a potato masher, alternatively, you can blend them in a food processor. Add in the mushroom mixture, followed by the parsley and quick oats, then mix everything together and adjust seasoning. If the mixture is too dry, add a splash of water, if it’s too wet add an extra tablespoon (5 g) of quick oats.
Use your hands or an ice cream scoop to form 4 patties. Arrange the patties on a baking tray covered with parchment paper and store them in the refrigerator to set for 30 minutes.
For the caramelized onions, start by heating the extra-virgin olive oil in a medium skillet over low heat. Add the onions and allow them to cook for 15 minutes, stirring them often to prevent them from burning. Once they have softened, add in the sugar and balsamic vinegar and let them cook for a further 10 minutes, season with a generous pinch of sea salt, then turn the heat off and set them aside until needed.
Brush a large skillet with the remaining extra-virgin olive oil and heat it over medium heat, then add the patties and cook them for 4 minutes on each side, until crispy and golden brown.
Remove the patties from the skillet and assemble your burgers. Layer one lettuce leaf, a slice of tomato, one burger and a generous dollop of caramelized onions over the base of each bun, top with the other half of the bun and serve.