public function hasMethod($method)
 {
     if (!$this->inlineForm->Actions()->fieldByName('action_' . $method)) {
         return parent::hasMethod($method);
     }
     return parent::hasMethod($method) || $this->inlineForm->Controller->hasMethod($method) || $this->inlineForm->hasMethod($method) || $this->Form->Controller->hasMethod($method);
 }