[FIX] stock: fix conversion to multi of _compute_location_description
Oversight of8df0a2a98eandc6e5d7b004. opw-748404
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user