-
Notifications
You must be signed in to change notification settings - Fork 3
Setup
ℹ️ If your language uses non latin characters
-
Make sure (TE_) in the Third Party Types dictionary is in Latin.
-
Up to Dolibarr version 16 the 3rd party Types dictionary does not support non latin characters after (TE_), but you can achieve this with a small change in htdocs/core/lib/functions2.lib.php (This is fixed in 17.0.0)
from
$masktype_value = substr(preg_replace('/^TE_/', '', $objsoc->typent_code), 0, dol_strlen($regType[1]));
to
$masktype_value = dol_substr(preg_replace('/^TE_/', '', $objsoc->typent_code), 0, dol_strlen($regType[1]));
⚠️ Make sure the number of t's in the mercure mask is the same as the number of characters after TE_ in the 3rd party Types dictionary.
e.g {ttt}{0000} -> TE_ABC , {t}{0000} -> TE_C
Το έργο με τίτλο CTPT Wiki διατίθεται με την άδεια Creative Commons Αναφορά Δημιουργού - Μη Εμπορική Χρήση - Παρόμοια Διανομή 4.0 Διεθνές .