Force referential code to be unique
The referential records that are created by the system should be unique (sometimes only active, sometimes par company etc.). But we should not if the code is not managed by the system like for ISO country or currency.
This follow the unique constraints we already have on party and product.
Here is a list of potential fields that should be:
* Account (analytic)
* Account journal
* Stock location