Hi Fernando, and a Happy New Year.
Another interesting pistol. As you don't give dimensions I won't comment on its heritage, but the lanyard ring suggests maybe for use from horseback or somesuch, so that if the user accidently dropped it it could be retrieved easily.It does not appear to be for military use though as I said size may give a clue.
As far as origin goes, I agree that somewhere in Europe seems likely, and I would guess at Belgium. The stock decoration (such as it is) is a quite common on cheap Belgian pistols.
I have absolutely no idea as to the reason for the rods---snap on bayonet??. My initial though before I saw it had two hammers, was that it was a turnover pistol, but it is obviously not that!
All the Best
Stuart