Files
odoo_source/addons/stock/static
yhu-odoo dc1dd645b6 [FIX] stock: Difference not counted when Enter with 0
In odoo/odoo#112978, it missed the case when 0 is entered (and no
Counted Quantity already set).

On inventory adjustments, when Counted Quantity is 0 and then press
"enter" or "tab", the difference will always set to 0. The compute
function for inventory_diff_quantity is not triggered in this
situation. We manually update the value in this case to trigger the
compute function.

opw-3177578

closes odoo/odoo#115252

X-original-commit: b4b90ff5702d18cc17d74d04e12e3cf11e205e9f
Signed-off-by: Tiffany Chang <tic@odoo.com>
2023-03-15 09:54:59 +01:00
..
…
…