From acacc17dc5859e8ed413c6fc9ae768582352fbc6 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Tue, 5 Jan 2021 07:44:45 +0100 Subject: [PATCH] Revert "[13.0][FIX] stock_vertical_lift: Error in tests" --- stock_vertical_lift/models/vertical_lift_shuttle.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stock_vertical_lift/models/vertical_lift_shuttle.py b/stock_vertical_lift/models/vertical_lift_shuttle.py index 2533f587c..796ff9b80 100644 --- a/stock_vertical_lift/models/vertical_lift_shuttle.py +++ b/stock_vertical_lift/models/vertical_lift_shuttle.py @@ -145,11 +145,6 @@ class VerticalLiftShuttle(models.Model): record = self.env[model].search([("shuttle_id", "=", self.id)]) if not record: record = self.env[model].create({"shuttle_id": self.id}) - # Since https://github.com/odoo/odoo/commit/3a6ac95 - # _compute_vertical_lift_shuttle_id() don't work fine - # These change fix it temporally - if "location_id" in record: - record.location_id._compute_vertical_lift_shuttle_id() return record def action_open_screen(self):