[IMP] ir.model: cleanup/de-duplicate code
[IMP] ir.model: cleanup/de-duplicate code
splbio/openobject-server,MarkusTeufelberger/openobject-server,ovnicraft/openerp-server,splbio/openobject-server,splbio/openobject-server,ovnicraft/openerp-server,gisce/openobject-server,gisce/openobject-server,MarkusTeufelberger/openobject-server,MarkusTeufelberger/openobject-server,gisce/openobject-server