Commit [1] made it so the computed stock_location.warehouse_id field is stored. Unfortunately it did not correctly add the additional depends value of `location_id` so when this value is changed after the record has been initially created+saved without a location_id, the warehouse will never be correctly computed. [1] https://github.com/odoo/odoo/commit/9978bcb366d0ea48ed25a7891e0c7653a2f96bfb Followup to task: 2882539 closes odoo/odoo#100219 Related: odoo/upgrade#3901 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>