Using hardcoded ORM commands in tests is cumbersome and not reliable. This commit introduces the same system as the one used on the server. closes odoo/odoo#120670 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>