Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3919 Näkymät

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
Hylkää

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

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
kesäk. 25
1140
0
toukok. 24
1680
0
maalisk. 15
3889
1
maalisk. 15
5467
2
marrask. 24
1434