Fix date selection on supplier proposal line not yet supported

This commit is contained in:
Laurent Destailleur 2019-09-06 12:51:10 +02:00
parent e1ee70fd8f
commit 104858cf47

View File

@ -1762,7 +1762,7 @@ if ($action == 'create')
// Add free products/services form
global $forceall, $senderissupplier, $dateSelector, $inputalsopricewithtax;
$forceall=1; $dateSelector=1; $inputalsopricewithtax=1;
$forceall=1; $dateSelector=0; $inputalsopricewithtax=1;
$senderissupplier=2; // $senderissupplier=2 is same than 1 but disable test on minimum qty.
if (! empty($conf->global->SUPPLIER_PROPOSAL_WITH_PREDEFINED_PRICES_ONLY)) $senderissupplier=1;