Merge branch 'fronkdev' into 'master'
Fixed Address::afterSave() setting custnum & fibu account num See merge request fronk/thetool!855
This commit is contained in:
@@ -24,7 +24,18 @@ class Address extends mfBaseModel {
|
|||||||
// prevent potential infinite loop
|
// prevent potential infinite loop
|
||||||
if($this->in_after_save) return true;
|
if($this->in_after_save) return true;
|
||||||
$this->in_after_save++;
|
$this->in_after_save++;
|
||||||
|
|
||||||
|
$this->types = null;
|
||||||
|
$this->attributes = null;
|
||||||
|
$this->contracts = null;
|
||||||
|
$this->active_contracts = null;
|
||||||
|
$this->country = null;
|
||||||
|
$this->parent = null;
|
||||||
|
$this->childaddresses = null;
|
||||||
|
$this->links = null;
|
||||||
|
$this->links_to = null;
|
||||||
|
$this->linked_as = null;
|
||||||
|
|
||||||
$this->generateFibuAccountNumber();
|
$this->generateFibuAccountNumber();
|
||||||
$this->syncToFibuMerge();
|
$this->syncToFibuMerge();
|
||||||
$this->getCoords();
|
$this->getCoords();
|
||||||
|
|||||||
Reference in New Issue
Block a user