This commit is contained in:
Laurent Destailleur 2025-04-25 02:15:11 +02:00
parent 021d2f751f
commit 6411ea4cfc

View file

@ -291,7 +291,7 @@ class BookKeeping extends CommonObject
$this->credit = 0.0;
}
$result = $this->validBookkeepingDate($this->doc_date);
$result = $this->validBookkeepingDate($this->doc_date); // Check date according to ACCOUNTANCY_FISCAL_PERIOD_MODE.
if ($result < 0) {
return -1;
} elseif ($result == 0) {