Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3889 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 25
1130
0
thg 5 24
1666
0
thg 3 15
3873
1
thg 3 15
5455
2
thg 11 24
1416