[FIX] unresolved reference: 'model' not available inside test body if generator used
[FIX] unresolved reference: 'model' not available inside test body if generator used

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server