This question has been flagged

Hello,

what is exactly the function that odoo use it to increase the sock, in a purcharse order or manufacturing order, i want to reuse this function to increase the stock of my product when clicking a button.

waiting for your answers.

Thank you

Avatar
Discard

There is a button to update the stock quantity already in the Product view.

Best Answer

In my opinion, the best solution would be to use method change_product_qty(). In standard this method changes the Product Quantity by making a Physical Inventory.

Avatar
Discard