From dcad7b37cdd05aac172f00350eee96477016a201 Mon Sep 17 00:00:00 2001 From: Richard Mathot Date: Mon, 11 Dec 2017 12:12:56 +0100 Subject: [PATCH] [FIX] base: make the test pass Since this test relies on the fact that no data exists yet, we are forced to unlink them... --- odoo/addons/base/tests/test_ir_actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/odoo/addons/base/tests/test_ir_actions.py b/odoo/addons/base/tests/test_ir_actions.py index 60cbe64280a..7c5836fa97e 100644 --- a/odoo/addons/base/tests/test_ir_actions.py +++ b/odoo/addons/base/tests/test_ir_actions.py @@ -185,6 +185,7 @@ class TestActionBindings(common.TransactionCase): Actions = self.env['ir.actions.actions'] # first make sure there is no bound action + self.env.ref('base.action_partner_merge').unlink() bindings = Actions.get_bindings('res.partner') self.assertFalse(bindings['action']) self.assertFalse(bindings['report'])