-
Notifications
You must be signed in to change notification settings - Fork 3
Support
Wanna share a thought, idea? Click here
For any issue regarding CTPT module please click here after reading the next section.
Please post your instance info e.g.:
Version Dolibarr: 16.0.1
OS: GNU/Linux
Web Server: Apache/2.4.54
PHP: 7.4.33
MariaDB/MySQL: 10.5.18
A screenshot presenting the problem would be very much appreciated!
- Make sure your user has the necessary permissions (user tab).
- Make sure the htdocs/custom/ctpt folder and subfolders have the necessary permissions rwx r-x r-x or 755 and files rw- r-- r-- or 644
-
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 or {t}{0000} -> TE_C
-
During the cloning of an older invoice you should choose the mask first before validating
ℹ️ 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]));
- Finally, delete the extrafield from Settings->Modules-Invoices-Additional features (invoices) and disable/enable the module again
Το έργο με τίτλο CTPT Wiki διατίθεται με την άδεια Creative Commons Αναφορά Δημιουργού - Μη Εμπορική Χρήση - Παρόμοια Διανομή 4.0 Διεθνές .