Bonjour,
suite à mon message sur le forum, voici ma proposition de patch pour
corriger le non rafraichissiment des lignes des commandes fournisseurs
si le PDF n'est pas auto généré.
Cordialement,
Cyril.
--- htdocs/fourn/commande/fiche.php Thu Feb 21 10:27:37 2013
+++ htdocs/fourn/commande/fiche.php Wed Feb 27 15:43:22 2013
@@ -299,2 +299,3 @@
{
+ $ret=$object->fetch($object->id); // Reload to get new records
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE))
@@ -311,3 +312,3 @@
- $ret=$object->fetch($object->id); // Reload to get new
records
+// $ret=$object->fetch($object->id); // Reload to get new
records
supplier_order_pdf_create($db, $object, $object->modelpdf,
$outputlangs, $hidedetails, $hidedesc, $hideref, $hookmanager);
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev