[IMP]Enable differentiate custom filter from action_id.

Pad link: https://pad.odoo.com/p/r.32arX4RDCA6qq10y

Task link: https://openerp.my.openerp.com/web#id=5893&view_type=form&model=project.task&menu_id=3942&action=327
Are you sure there is no other way than using 6 `getParent` calls? Does not seems generic to me.
Also check your indentation for your if clauses

```
if (...) {
    // 4 spaces
}
```