This is an Addiator; a German manufactured mechanical pocket calculator. They were made from 1920 to 1982. A Frenchman called Troncet produced a similar device and such calculators are sometimes known as Troncets.
Users could add and subtract by moving metal sliders with a stylus. The simplest troncets only did denary arithmetic.
The one shown is a pocket model. There were more substantial desktop models.
The Addiator company advertised their machines as also being capable of multiplication and division. This was stretching the truth since they could only do multiplication by repeated addition and division by repeated subtraction.
To overcome this limitation Castell produced an Addiator with a slide rule on its other side. I bought one in an antique shop in Prague many years ago. This was before eBay made collecting such devices much easier [and cheaper].
Some devices could add or subtract eighths of an inch, inches and feet. Others could add or subtract time.
One variant could handle pounds, shillings and pence. [Before Britain introduced decimal coinage in 1971 there were 20 shillings to the pound and 12 pence to the shilling. To add to the fun there were four farthings to the penny. The pound sterling was a character building currency when it came to mental arithmetic.]
A company in the USA produced a version for programmers which could do hexadecimal calculations. These are very rare.
Shopkeepers and tradesmen would not have used addiators. If they had to calculate the cost of seven items at £3/17/6d each they would have turned to a ready reckoner. I have one by me as I type. The calculations were done by a Mr. J Gall Inglis F.R.S.E. and the book was printed by Gall and Inglis of Edinburgh. I suspect they were not only a lot cheaper than Addiators, but also more useful.
Troncets and ready reckoners were gradually displaced by affordable electronic calculators from the mid 1970s onwards.
There must be many people who remember using such devices, but I have never seen them as a prop in an historical film or TV programme.
Volvelles, Wheel Charts and Slide Charts