Each {{ label }} is uniquely identified by a Reference field.

Reference Pattern

New in v0.8.0

Reference patterns were introduced in version 0.8.0. Users upgrading from an older version may find that the reference fields behave slightly differently than previous versions.

The {{ label }} reference field must conform to a (configurable) pattern, allowing users to define a standard for identifying individual orders.
In addition to being used ensure the reference fields conform to a standard format, the reference pattern is also used to automatically generate sequential reference values.

The default pattern for the {{ label }} reference pattern is {{ prefix }}{ref:04d}.
This will generate a sequence of reference values like:

The {{ label }} reference pattern can be configured to generate a different reference sequence as required.

The {{ label }} pattern is implemented as follows:

Reference Formatting

The reference field pattern uses Python string formatting for value substitution.