[imp] changed the way validity is tested
[imp] changed the way validity is tested

gisce/openerp-web,splbio/openerp-web,MarkusTeufelberger/openerp-web,splbio/openerp-web,splbio/openerp-web,MarkusTeufelberger/openerp-web,MarkusTeufelberger/openerp-web,gisce/openerp-web,gisce/openerp-web