[FIX] do not hardcode ids in tests

bzr revid: chs@openerp.com-20121205173733-t686x9m2yylp552w
This commit is contained in:
Christophe Simonis 2012-12-05 18:37:33 +01:00
parent 5483836f51
commit 84aa05b4cc
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class test_ir_values(common.TransactionCase):
# Replace one action binding to set a new name.
ir_values = self.registry('ir.values')
ir_values.set(self.cr, self.uid, 'action', 'tree_but_open', 'OnDblClick Action New', ['unexisting_model'], 'ir.actions.act_window,10', isobject=True)
ir_values.set(self.cr, self.uid, 'action', 'tree_but_open', 'OnDblClick Action New', ['unexisting_model'], 'ir.actions.act_window,%d' % act_id_1, isobject=True)
# Retrieve the action bindings and check they're correct