I just ran across this issue in the forums, which I’ve seen a number of times before. The issue is that you have defined a custom edit view class for your module, which works for normal edit view just fine. However, the code isn’t called for any of the “quick create” views, which are those AJAX driven ones that appear in subpanels and in the top navigation bar in the Pro and Enterprise versions. There’s a simple fix for this, in your edit view class, add the following..
public $useForSubpanel = true;
…and the logic in your custom edit view class will be executed.