Skip to Content
Menu
This question has been flagged
1 Atsakyti
4088 Rodiniai

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

Portretas
Atmesti

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 25
1377
0
geg. 24
1956
0
kov. 15
4129
1
kov. 15
5738
2
lapkr. 24
1654