Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5363 Представления

Hi Odoo Community,

By default, the Odoo Inventory App shows on the product template form the On Hand Qty of stock, but ideally we really want on this screen the Available Qty (i.e, all stock that is unreserved) as it gives us a more truthful indication on how much free stock we have for customers.


Currently the On Hand Qty counts stock that is reserved. Any easy way to change this?

Аватар
Отменить
Лучший ответ

Hi,

You can override the function _compute_quantities, and the free_qty field represents the computed field that is computed as Quantity On Hand - reserved quantity, If you need this formula you can update the onhand_qty value into the free qty

Hope it helps

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мая 21
2870
0
апр. 24
1577
1
июн. 24
926
2
июн. 22
3810
1
июн. 24
3802