Merge pull request #2242 from marcosgdf/3.6
Fix: [ bug #1801 ] FAC_FORCE_DATE_VALIDATION constant alters supplier invoice date given to numeration modules
This commit is contained in:
commit
4c8de74140
@ -6,6 +6,7 @@ English Dolibarr ChangeLog
|
|||||||
- Fix: ref_ext was not saved when recording a customer order from web service
|
- Fix: ref_ext was not saved when recording a customer order from web service
|
||||||
- Fix: amarok is a bugged theme making dolidroid failed. We swith to eldy automatically with dolidroid.
|
- Fix: amarok is a bugged theme making dolidroid failed. We swith to eldy automatically with dolidroid.
|
||||||
- Fix: withdrawal create error if in the same month are deleted previus withdrawals.
|
- Fix: withdrawal create error if in the same month are deleted previus withdrawals.
|
||||||
|
- Fix: [ bug #1801 ] FAC_FORCE_DATE_VALIDATION constant alters supplier invoice date given to numeration modules
|
||||||
|
|
||||||
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
|
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
|
||||||
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
|
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
|
||||||
|
|||||||
@ -1500,12 +1500,7 @@ else
|
|||||||
if ($objectref == 'PROV')
|
if ($objectref == 'PROV')
|
||||||
{
|
{
|
||||||
$savdate=$object->date;
|
$savdate=$object->date;
|
||||||
if (! empty($conf->global->FAC_FORCE_DATE_VALIDATION))
|
|
||||||
{
|
|
||||||
$object->date=dol_now();
|
|
||||||
//TODO: Possibly will have to control payment information into suppliers
|
|
||||||
//$object->date_lim_reglement=$object->calculate_date_lim_reglement();
|
|
||||||
}
|
|
||||||
$numref = $object->getNextNumRef($societe);
|
$numref = $object->getNextNumRef($societe);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user