diff --git a/modules/contratti/actions.php b/modules/contratti/actions.php index d89d7d9de..2392d48af 100644 --- a/modules/contratti/actions.php +++ b/modules/contratti/actions.php @@ -179,7 +179,7 @@ switch (post('op')) { $qta = post('qta'); - $articolo->setTranslation('title', post('descrizione')); + $articolo->descrizione = post('descrizione'); $articolo->note = post('note'); $articolo->um = post('um') ?: null; diff --git a/modules/ddt/actions.php b/modules/ddt/actions.php index 9c11593b7..45fd7c0da 100755 --- a/modules/ddt/actions.php +++ b/modules/ddt/actions.php @@ -165,7 +165,7 @@ switch (filter('op')) { $articolo->id_dettaglio_fornitore = post('id_dettaglio_fornitore') ?: null; } - $articolo->setTranslation('title', post('descrizione')); + $articolo->descrizione = post('descrizione'); $articolo->note = post('note'); $articolo->um = post('um') ?: null; diff --git a/modules/interventi/actions.php b/modules/interventi/actions.php index 347b3bb03..463518052 100644 --- a/modules/interventi/actions.php +++ b/modules/interventi/actions.php @@ -521,7 +521,7 @@ switch (post('op')) { $qta = post('qta'); $articolo->idsede_partenza = post('idsede_partenza'); - $articolo->setTranslation('title', post('descrizione')); + $articolo->descrizione = post('descrizione'); $articolo->note = post('note'); $articolo->um = post('um') ?: null; $articolo->idimpianto = post('id_impianto') ?: null; diff --git a/modules/ordini/actions.php b/modules/ordini/actions.php index 353d0da56..69174508c 100755 --- a/modules/ordini/actions.php +++ b/modules/ordini/actions.php @@ -170,7 +170,7 @@ switch (post('op')) { $articolo->id_dettaglio_fornitore = post('id_dettaglio_fornitore') ?: null; } - $articolo->setTranslation('title', post('descrizione')); + $articolo->descrizione = post('descrizione'); $articolo->note = post('note'); $articolo->um = post('um') ?: null; diff --git a/modules/preventivi/actions.php b/modules/preventivi/actions.php index 97b0bfbf5..0451eccdb 100755 --- a/modules/preventivi/actions.php +++ b/modules/preventivi/actions.php @@ -195,7 +195,7 @@ switch (post('op')) { $qta = post('qta'); - $articolo->setTranslation('title', post('descrizione')); + $articolo->descrizione = post('descrizione'); $articolo->note = post('note'); $articolo->um = post('um') ?: null; $articolo->data_evasione = post('data_evasione') ?: null; diff --git a/plugins/pianificazione_interventi/actions.php b/plugins/pianificazione_interventi/actions.php index 4652a2f52..86d3b3bd2 100755 --- a/plugins/pianificazione_interventi/actions.php +++ b/plugins/pianificazione_interventi/actions.php @@ -215,7 +215,7 @@ switch ($operazione) { $qta = post('qta'); - $articolo->setTranslation('title', post('descrizione')); + $articolo->descrizione = post('descrizione'); $articolo->um = post('um') ?: null; $articolo->costo_unitario = post('costo_unitario') ?: 0;