diff --git a/addons/barcodes/barcodes.py b/addons/barcodes/barcodes.py
index 34c00ad4ac1..543d364a218 100644
--- a/addons/barcodes/barcodes.py
+++ b/addons/barcodes/barcodes.py
@@ -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."))
diff --git a/addons/barcodes/data/barcodes_data.xml b/addons/barcodes/data/barcodes_data.xml
index 8d33995669a..b96be279fc9 100644
--- a/addons/barcodes/data/barcodes_data.xml
+++ b/addons/barcodes/data/barcodes_data.xml
@@ -10,8 +10,8 @@
90
product
- ean13
+ any
.
-
\ No newline at end of file
+
diff --git a/addons/point_of_sale/data/default_barcode_patterns.xml b/addons/point_of_sale/data/default_barcode_patterns.xml
index 3eec05b1811..cf65ab87d19 100644
--- a/addons/point_of_sale/data/default_barcode_patterns.xml
+++ b/addons/point_of_sale/data/default_barcode_patterns.xml
@@ -7,7 +7,7 @@
50
cashier
any
- 041
+ 041.
@@ -16,7 +16,7 @@
40
client
any
- 042
+ 042.
@@ -37,4 +37,4 @@
23.....{NNNDD}.
-
\ No newline at end of file
+