From 10c6908c63c9b65c7f78d8fd1fcf2a9975780a0f Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Wed, 21 Jun 2017 10:27:39 -0700 Subject: [PATCH] [FIX] stock: fix conversion to multi of _compute_location_description Oversight of 8df0a2a98eca638c62c9b71297712a496c180698 and c6e5d7b004a0284f045147066481e8df77f1829b. opw-748404 --- addons/stock/models/stock_pack_operation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/models/stock_pack_operation.py b/addons/stock/models/stock_pack_operation.py index 7d753493541..1c7251e7a80 100644 --- a/addons/stock/models/stock_pack_operation.py +++ b/addons/stock/models/stock_pack_operation.py @@ -113,7 +113,7 @@ class PackOperation(models.Model): @api.multi def _compute_location_description(self): for operation, operation_sudo in zip(self, self.sudo()): - operation.from_loc = '%s%s' % (operation_sudo.location_id.name, self.product_id and operation_sudo.package_id.name or '') + operation.from_loc = '%s%s' % (operation_sudo.location_id.name, operation.product_id and operation_sudo.package_id.name or '') operation.to_loc = '%s%s' % (operation_sudo.location_dest_id.name, operation_sudo.result_package_id.name or '') @api.one