تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3908 أدوات العرض

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

الصورة الرمزية
إهمال

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

أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 25
1135
0
مايو 24
1674
0
مارس 15
3881
1
مارس 15
5462
2
نوفمبر 24
1427