'Run operations on o2m fields to check all works fine.'

def operations(self):

    self.assertItemsEqual(self.multi.lines.mapped('name'), map(str, range(10)))
    self.multi.lines[0].name = 'hello'
    self.multi.lines = self.multi.lines[:(-1)]
    self.assertEqual(len(self.multi.lines), 9)
    self.assertIn('hello', self.multi.lines.mapped('name'))
    self.multi.invalidate_cache()
    self.assertEqual(len(self.multi.lines), 9)
    self.assertIn('hello', self.multi.lines.mapped('name'))
