This module allows to associate a sequence to the product reference.
The reference (default code) is unique (SQL constraint) and required.
Support Product with or without Variants.
D171100001 for Manufactured Products.
C171000001 for Components Products.
S171000001 for Sourced Products.
17-year, 10-month.
Sepcial for variants. add [-00?]
Prior to installing this module, if you have any existing products you should ensure they already have a
unique reference (or no reference) set.
Products with a default_code of '/' or empty will automatically be assigned a code of "!!DP!!" followed
by the system id for that product.
Otherwise the setting of the unique constraint will fail and the module will fail to install.
Notice:
Odoo product variants is very special.
When u create a product(not product template) with attribute, It would delete the first product, which
have no attribute.
So it's very normal that the first product variants begin wit ???-002.
And we make a rule that the product variants can only create after you create normal product template.