[FIX] barcodes: some small fixes in the default barcode patterns
[odoo/odoo.git] / addons / barcodes / barcodes.py
index 34c00ad..543d364 100644 (file)
@@ -195,4 +195,4 @@ class barcode_rule(models.Model):
             elif re.search("[{][}]", p):
                 raise ValidationError(_("There is a syntax error in the barcode pattern ") + self.pattern + _(": empty braces."))
         elif len(findall) != 0:
-            raise ValidationError(_("There is a syntax error in the barcode pattern ") + self.pattern + _(": a rule can only contain one pair of braces."))
\ No newline at end of file
+            raise ValidationError(_("There is a syntax error in the barcode pattern ") + self.pattern + _(": a rule can only contain one pair of braces."))