client code has already being used

Hi to all,

We are using Dolibarr ver 6.0.4. When two users are trying to import a new third party, these new third parties will be assigned the same code. As a result, one of the two users will get an error that the client code is already in use.
Is it possible to have the client code assigned when the form is submitted and not when the form is opened?

This is using “auto” in the Customer Code / Vendor Code column of the import spreadsheet?

The users are not using the import tool. They are using the “new third party” from the left menu

Your original post is incorrect: “When two users are trying to import a new third party…”

Then you have a problem with the automatic numbering method you have chosen in
Setup->Modules->Third Parties->Module for third parties code generation and checking (customer or vendor).