grocy/controllers
David Mott a0cf58b974
fix: make stockentry grocycodes consume the actual stock entry not the product in general (#1584)
* 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>
2021-08-19 19:44:39 +02:00
..
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00
2021-07-16 17:32:08 +02:00