From a3252963a571c0c64a5b98fd7d2d9fd4e89085a1 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Tue, 23 Aug 2011 14:46:01 +0200 Subject: [PATCH] [FIX] idea: correct selection field values (i.e. strings). bzr revid: vmt@openerp.com-20110823124601-5em26jbf4459t0f5 --- addons/idea/test/test_idea.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/idea/test/test_idea.yml b/addons/idea/test/test_idea.yml index 402f93f4817..4ce9d706e69 100644 --- a/addons/idea/test/test_idea.yml +++ b/addons/idea/test/test_idea.yml @@ -56,7 +56,7 @@ - !python {model: idea.post.vote}: | uid2 = ref('test_idea_user1') - new_id = self.create(cr, uid2, {'vote': 50}, {"active_ids": [ref("idea_idea_0")]}) + new_id = self.create(cr, uid2, {'vote': "50"}, {"active_ids": [ref("idea_idea_0")]}) self.do_vote(cr, uid2, [new_id], {"active_ids": [ref("idea_idea_0")]}) - | @@ -69,7 +69,7 @@ - !python {model: idea.post.vote}: | uid2 = ref('test_idea_user2') - new_id = self.create(cr, uid2, {'vote': 100, 'note': 'We can learn many things from technical presentation'}, {"active_ids": [ref("idea_idea_0")]}) + new_id = self.create(cr, uid2, {'vote': "100", 'note': 'We can learn many things from technical presentation'}, {"active_ids": [ref("idea_idea_0")]}) self.do_vote(cr, uid2, [new_id], {'active_ids': [ref('idea_idea_0')]}) - |