<?xml version="1.0"?>
<form string="Barcode Nomenclature">
                    <sheet>
                        <group name="general_attributes" col="4">
                            <field name="name"/>
                            <field name="upc_ean_conv"/>
                        </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 <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 barcode field on the associated records <i>must</i> show these digits as
                                zeroes.
                            </p>
                        </div>
                        <field name="rule_ids">
                            <list string="Tables">
                                <field name="sequence" widget="handle"/>
                                <field name="name"/>
                                <field name="type"/>
                                <field name="encoding"/>
                                <field name="pattern"/>
                            </list>
                        </field>
                    </sheet>
                </form>
            