FIX [ bug 1925 ] "Link to order" option in supplier invoices is not working properly

Patch submitted by Philippe (pheno) at https://doliforge.org/tracker/?func=detail&aid=1925&group_id=144
This commit is contained in:
Marcos García de La Fuente 2015-07-19 15:13:27 +02:00
parent 2bb1945a2f
commit b64adcc065
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ FIX [ bug #2855 ] Wrong translation key in localtax report page
FIX [ bug #1852 ] JS error when editing a customer order line
FIX [ bug #2900 ] Courtesy title is not stored in create thirdparty form
FIX [ bug #3055 ] Product image thumbnails were not deleted after deleting the image
FIX [ bug 1925 ] "Link to order" option in supplier invoices is not working properly
***** ChangeLog for 3.7.1 compared to 3.7.* *****
FIX Bug in the new photo system

View File

@ -824,7 +824,7 @@ elseif ($action == 'reopen' && $user->rights->fournisseur->facture->creer)
if (GETPOST('linkedOrder')) {
$object->fetch($id);
$object->fetch_thirdparty();
$result = $object->add_object_linked('commande', GETPOST('linkedOrder'));
$result = $object->add_object_linked('order_supplier', GETPOST('linkedOrder'));
}
// Add file in email form