Skip to content
Snippets Groups Projects
Commit b7e47be0 authored by Florent de Labarre's avatar Florent de Labarre Committed by Martin Trigaux
Browse files

[FIX] stock: remove wrong decorator

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

Closes #24238
parent 904c2e51
No related merge requests found
......@@ -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 '')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment