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?
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).