Not always a happy ending...
When I worked in the UK defence industry back in the early 90’s, I made a system for (let’s call it a ‘Widget’) to allow a simple targeting system to be fitted to a rifle and control its operation. You basically had a self-aiming, self-loading, fully-autonomous anti-insurgent weapon system that worked in ALL weathers. It even had IFF capability. Truly ‘Set and Forget.’
“No. We don’t need anything like that!” Said one department mandarin. “It won’t work anyway.”
I knew it did, because I’d been using it for point-defence in paintball gaming for months without a single misfire or wrong ident.
About a year later, this ‘mandarin’ (read as Asshole) was rewarded for “his” brilliant idea and given charge of a new department that of course got him promotion and a hefty pay rise.
When I pointed it out to his line manager that he’d stolen my idea, I was accused of “Sour grapes,” and “Don’t forget, we are all part of a team here.”
It was my idea that I had been looking to sell outside of my employment - something to bolster my pension. I never gave anything for free back to them after that.
Some managers and employers cannot be trusted to be honourable.
A couple of years later, a well-known U.K. defence company was producing this Widget, and making millions from it.
NOW I have Sour Grapes. Bloody Sour Melons!