[IMP] barcodes: add a little explanation text on the barcode nomenclatures

This commit is contained in:
Frédéric van der Essen
2014-12-09 18:09:39 +01:00
parent f2c0d8fef7
commit f8e6afee33
+15
View File
@@ -12,6 +12,21 @@
<field name="name" />
<field name="strict_ean"/>
</group>
<div>
<p>
<i>Barcodes Nomenclatures</i> define how barcodes are recognized and categorized.
When a barcode is scanned it is associated to the <i>first</i> rule with a matching
pattern. The pattern syntax is that of regular expression, and a barcode is matched
if the regular expression matches a prefix of the barcode.
</p><p>
Patterns can also define how numerical values, such as weight or price, can be
encoded into the barcode. They are indicated by a <code>{NNN}</code> where the N's
define where the number's digits are encoded. Floats are also supported with the
decimals indicated with D's, such as <code>{NNNDD}</code>. In these cases,
the barcodes on the associated entites <i>must</i> have the value part set to
zeroes.
</p>
</div>
<field name="rule_ids">
<tree string='Tables'>
<field name="name" />