would it be a bad idea to make the identifiers unique ?
because, for exemple, 2 products could not have the same identifier, but in tryton they can. is there a use case where to_be_unique will brake some case ?
or maybe there is an complexity to implement it ?
Indeed they could if they are the “same” product.
For example user may want to change some product properties that can not be changed in Tryton so he will create a new product with the same identifiers and different properties.
Also it always create troubles when adding a constraint on external data that is not needed for the application to run properly.