From 436b209b7af1f0f92bb3711188df41d3840f593d Mon Sep 17 00:00:00 2001
From: Alessandro Uffreduzzi
Date: Fri, 29 Dec 2023 17:59:31 +0100
Subject: [PATCH] [IMP] barcodes_generator_product: clarify documentation
---
barcodes_generator_product/README.rst | 9 ++++++++-
barcodes_generator_product/readme/DESCRIPTION.rst | 7 +++++++
barcodes_generator_product/static/description/index.html | 7 ++++++-
3 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/barcodes_generator_product/README.rst b/barcodes_generator_product/README.rst
index baa3d222a9d3..10bd8884fc82 100644
--- a/barcodes_generator_product/README.rst
+++ b/barcodes_generator_product/README.rst
@@ -7,7 +7,7 @@ Generate Barcodes for Products
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:0efc2515c80972d89bf3b3b95f9c1e18ab2057b11fae5da4b158dfc9e732c6fd
+ !! source digest: sha256:147cfa313b3729c0f8aef49618e11283f5e2a331720dade422a0b646c283ea6a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -38,6 +38,13 @@ that:
* and after 5 others digits to define the variable price
* a 13 digit control
+Another common pattern is "8012345....." which means that:
+* the EAN13 code will begin with '8012345'
+* followed by 5 digits (named Barcode Base in this module)
+* and finally the 13th digit is the control digit
+
+Note that a dot is not necessary in the pattern as the control digit is added automatically.
+
With this module, it is possible to:
* Assign a pattern (barcode.rule) to a product.product
diff --git a/barcodes_generator_product/readme/DESCRIPTION.rst b/barcodes_generator_product/readme/DESCRIPTION.rst
index 8c6923ec946a..4f93ca88445b 100644
--- a/barcodes_generator_product/readme/DESCRIPTION.rst
+++ b/barcodes_generator_product/readme/DESCRIPTION.rst
@@ -8,6 +8,13 @@ that:
* and after 5 others digits to define the variable price
* a 13 digit control
+Another common pattern is "8012345....." which means that:
+* the EAN13 code will begin with '8012345'
+* followed by 5 digits (named Barcode Base in this module)
+* and finally the 13th digit is the control digit
+
+Note that a dot is not necessary in the pattern as the control digit is added automatically.
+
With this module, it is possible to:
* Assign a pattern (barcode.rule) to a product.product
diff --git a/barcodes_generator_product/static/description/index.html b/barcodes_generator_product/static/description/index.html
index 87e0d4f64ba6..e460b261f6d1 100644
--- a/barcodes_generator_product/static/description/index.html
+++ b/barcodes_generator_product/static/description/index.html
@@ -367,7 +367,7 @@ Generate Barcodes for Products
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:0efc2515c80972d89bf3b3b95f9c1e18ab2057b11fae5da4b158dfc9e732c6fd
+!! source digest: sha256:147cfa313b3729c0f8aef49618e11283f5e2a331720dade422a0b646c283ea6a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

This module expands Odoo functionality, allowing user to generate barcode
@@ -378,6 +378,11 @@
Generate Barcodes for Products
* followed by 5 digits (named Barcode Base in this module)
* and after 5 others digits to define the variable price
* a 13 digit control
+Another common pattern is “8012345…..” which means that:
+* the EAN13 code will begin with ‘8012345’
+* followed by 5 digits (named Barcode Base in this module)
+* and finally the 13th digit is the control digit
+Note that a dot is not necessary in the pattern as the control digit is added automatically.
With this module, it is possible to:
- Assign a pattern (barcode.rule) to a product.product