diff --git a/application/Address/Address.php b/application/Address/Address.php index d5e881e6a..4bd40ab69 100644 --- a/application/Address/Address.php +++ b/application/Address/Address.php @@ -24,7 +24,18 @@ class Address extends mfBaseModel { // prevent potential infinite loop if($this->in_after_save) return true; $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->syncToFibuMerge(); $this->getCoords();