Hi all.
Dolibarr 15.0.1
PRODUCT_USE_UNITS - 1 (enable)
After generate PDF (proporsal or invoice) data in Table “Unit” language displays only from [Dictionaries] in any language. Using default PDF template (azur, crobe).
How to fix this?
I have cheked pdf.lib.php
function pdf_getlineunit($object, $i, $outputlangs, $hidedetails = 0, $hookmanager = false)
also in pdf.azur.modules.php
// Unit
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
$unit = pdf_getlineunit($object, $i, $outputlangs, $hidedetails, $hookmanager);
$pdf->SetXY($this->posxunit, $curY);
$pdf->MultiCell($this->posxdiscount - $this->posxunit - 0.8, 4, $unit, 0, 'L');
in the Setup-Translations: SizeUnitm = different on each language.
Have cleared cache in browers.