A regex rule limits values into llx_c_product_nature table to only 0 and 1, in the dictionary tough is possible to add other values

Hello

In Dolibarr when creating a product there is the possibility to set it as a raw material or a manufactured product, this information is stored in the product llx_c_product_nature table.

In the dictionary section it is possible to add more nature of product types, eg. virtual product or else, the data added is stored without errors…

When importing products or services it is possible to use the field product nature, however while importing if any value different from 0 or 1 is used (e.g. for the newly added product natures, e.g. 2 for virtual, 3 for custom manufactured, 4 for refined raw material or else…) the import simulator indicates that there is an error in the product nature field as does not match a regex expression which limits the values to only 0 and 1

This is the error outputted: Field 31: ‘3’ does not match regex rule ^[0|1]$

Furthermore, even though trough the dictionaries customization interface adding new values in the llx_c_product_nature does work, then when creating a new product the new options do not appear in the dropdown menu to indicate the nature of the product, so all the new kind of product natures added are not usable in fact…

Is this behaviour of Dolibarr something forgotten there as is as it looks alike or there is a precise reason for which there can be only two kinds of product nature?

Of course it is also possible to use the categories to classify products, however as this feature is there why not have it working at its full functionality?

Why not remove that regex rule/fix this feature and allow to use the extra product nature kinds a user might need to create and use?

Thank you
Best regards