I am trying to change stock levels of a product lot via the API (14.0), by supplying the batch name (i.e. "LF-1") and the new quantity.
We are managing product lots with a woocommerce-plugin that I wrote myself. Now I want to sync lots from Odoo to Woocommerce and back in case of orders. I don't need the orders in Odoo, in fact I prefer to have them separate.
To update the lots, I tried the following, but it didn't work:
Obviously there is no lot number specified, and the documentation of this model doesn't mention any.
Then I tried:
Didn't work either, as product_qty is read only.
I would be happy for any suggestion on how to solve this!