-
- Downloads
[FIX] product_expiry: lot expiration_date
This commit adresses to two issues:
Since 0c83542a93dde8dcaead04fadb7db95cf627a8b4, the move line's `expiration_date`
set by the user is always overrided at the creation of the move which
means the user has to modify it after the move was created.
To fix that, the compute doesn't override the `expiration_date` if there
is already one set.
Therefore, the onchange on the product who was removed is re-added to
force to recompute the `expiration_date` if the move line's product is
changed and it has already an `expiration_date` set.
closes odoo/odoo#76847
Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
Please register or sign in to comment