diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-01-13 12:13:46 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-01-13 12:13:46 +0100 |
| commit | c287d38f5f640fd50aa72d7dfba5499efb50c746 (patch) | |
| tree | 7f97a298016186e566c11ec75ffb67dc86ed8c6b /addons/barcodes/barcodes.py | |
| parent | 780b36abe9267c8d74600820543fac849507e394 (diff) | |
[FIX] ...: untranslated selection
When using a method returning the list of selections, the labels needs to be
translated with a _ call
Diffstat (limited to 'addons/barcodes/barcodes.py')
| -rw-r--r-- | addons/barcodes/barcodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/barcodes/barcodes.py b/addons/barcodes/barcodes.py index 5a780657c1a..8f9c6769bcc 100644 --- a/addons/barcodes/barcodes.py +++ b/addons/barcodes/barcodes.py @@ -180,7 +180,7 @@ class barcode_rule(models.Model): @api.model def _encoding_selection_list(self): return [ - ('any', 'Any'), + ('any', _('Any')), ('ean13', 'EAN-13'), ('ean8', 'EAN-8'), ('upca', 'UPC-A'), |
