[FIX] stock: remove wrong decorator

Was probably introduced during a forward-port as was correctly changed at 8df0a2a98e

Closes #24238
This commit is contained in:
Florent de Labarre
2018-04-16 16:59:36 +02:00
committed by Martin Trigaux
parent 904c2e5112
commit b7e47be012
-1
View File
@@ -52,7 +52,6 @@ class StockMoveLine(models.Model):
reference = fields.Char(related='move_id.reference', store=True)
in_entire_package = fields.Boolean(compute='_compute_in_entire_package')
@api.one
def _compute_location_description(self):
for operation, operation_sudo in izip(self, self.sudo()):
operation.from_loc = '%s%s' % (operation_sudo.location_id.name, operation.product_id and operation_sudo.package_id.name or '')