Make this plugin work with Pathogen
Generalize the _openerp_py snippet