'Call new-style methods in the new API style.'

@mute_logger('odoo.models')
def test_40_new_new(self):

    partners = self.env['res.partner'].search([('name', 'ilike', 'j')])
    self.assertTrue(partners)
    partners.write({'active': False})
    for p in partners:
        self.assertFalse(p.active)
