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

Hello,

In Odoo 11, due to incorrect script (now corrected), I have, for some product.template the field outgoing_qty which have a wrong value. It should be zero but it is -1500.

The quantities on hand and reserved are zero.

I don't know how to correct this problem.

Best regards,

Boris Giordanengo

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

The outgoing_qty field in product is a computed field so you can check the _compute_quantities compute method code and see the logic for outgoing_qty calculation and you will be able to solve it.

Tác giả

Thanks Waleed Ali Mohsen. I will try.

Tác giả Câu trả lời hay nhất

I found the solution: suppress the incorrect stock.moves

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