* fix: make stockentry grocycodes consume the actual stock entry not the product in general
if the stock_entry_id is in the request body use this instead of the stockentry grocycode
this may not be the correct way to interpret this but one of them has to win
* Undo formatting changes
* fix: add variable definition and reorder args used in ConsumeProduct
* Simplify
* Fix this also for transferring a product
Co-authored-by: Bernd Bestel <bernd@berrnd.de>