Skip to content
sonikf edited this page Jan 13, 2023 · 14 revisions

Installation

inst1

inst2

inst3

inst4

Third party type mask setup

tpt

ℹ️ If your language uses non latin characters

  1. Make sure (TE_) in the Third Party Types dictionary is in Latin.

  2. 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]));

TPT1

TPT2

Mercure setup

MER1

MER2

⚠️ 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

MER3