[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:
committed by
Martin Trigaux
parent
904c2e5112
commit
b7e47be012
@@ -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 '')
|
||||
|
||||
Reference in New Issue
Block a user