From a1eb7fffc2ec6a3715c330e4ce3b979dca365e89 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 27 Nov 2013 16:18:15 +0100 Subject: [PATCH] [FIX]note: notes with undefined stages did not appear if the user had defined stages (they appeared if the user had no stages defined) bzr revid: dle@openerp.com-20131127151815-gzk9py9wtzmndziw --- addons/note/note.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/note/note.py b/addons/note/note.py index 95fe8f97cdf..00c67c37191 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -147,6 +147,7 @@ class note_note(osv.osv): if result and result[0]['stage_id'][0] == current_stage_ids[0]: dom_in = result[0]['__domain'].pop() result[0]['__domain'] = domain + ['|', dom_in, dom_not_in] + result[0]['stage_id_count'] += nb_notes_ws else: # add the first stage column result = [{