Fixed Address::afterSave() setting custnum & fibu account num
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user