RimoWorkorder: now setting dynamic properties to null in afterSave()
This commit is contained in:
@@ -15,6 +15,9 @@ class RimoWorkorder extends mfBaseModel {
|
||||
}
|
||||
|
||||
public function afterSave() {
|
||||
$this->adb_wohneinheit = null;
|
||||
$this->termination = null;
|
||||
|
||||
// prevent potential infinite loop
|
||||
$nesting_level = mfValuecache::singleton()->get("rimoworkorder-save-nesting-level-".$this->id);
|
||||
if(!$nesting_level) {
|
||||
|
||||
Reference in New Issue
Block a user