You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a variant and using a reference of an existing product, the existing product is replaced by the variant
Dolibarr Version
20.05
Environment PHP
8.2
Environment Database
mariadb
Steps to reproduce the behavior and expected behavior
Reproduce :
Create a product with reference A
Create a product with reference B
Create a variant of product B and set the reference of the variant as A
Product A will be replace by the variant
Expected :
When creating a variant and assigning a reference of an already existing product the variant should not be created and an error should be raised indicating that the chosen reference is already used
Attached files
No response
The text was updated successfully, but these errors were encountered:
Movix
added
the
Bug
This is a bug (something does not work as expected)
label
Mar 22, 2025
Bug
When creating a variant and using a reference of an existing product, the existing product is replaced by the variant
Dolibarr Version
20.05
Environment PHP
8.2
Environment Database
mariadb
Steps to reproduce the behavior and expected behavior
Reproduce :
Create a product with reference A
Create a product with reference B
Create a variant of product B and set the reference of the variant as A
Product A will be replace by the variant
Expected :
When creating a variant and assigning a reference of an already existing product the variant should not be created and an error should be raised indicating that the chosen reference is already used
Attached files
No response
The text was updated successfully, but these errors were encountered: