[FIX] stock: remove translation on location name
The complete name on stock location is computed base on the location name. However the location name can be translate and then the complete name is often half translated. This commit remove the translation on location name.
This commit is contained in:
@@ -24,7 +24,7 @@ class Location(models.Model):
|
||||
res['barcode'] = res['complete_name']
|
||||
return res
|
||||
|
||||
name = fields.Char('Location Name', required=True, translate=True)
|
||||
name = fields.Char('Location Name', required=True)
|
||||
complete_name = fields.Char("Full Location Name", compute='_compute_complete_name', store=True)
|
||||
active = fields.Boolean('Active', default=True, help="By unchecking the active field, you may hide a location without deleting it.")
|
||||
usage = fields.Selection([
|
||||
|
||||
Reference in New Issue
Block a user