summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2013-11-27 16:18:15 +0100
committerDenis Ledoux <dle@openerp.com>2013-11-27 16:18:15 +0100
commita1eb7fffc2ec6a3715c330e4ce3b979dca365e89 (patch)
tree8f26eb33e3a24180e48c3f3e31dd112d6546c99c /addons
parent866a7c92b6fc80d75e524f0d66b7c21ce0f5b4f2 (diff)
[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
Diffstat (limited to 'addons')
-rw-r--r--addons/note/note.py1
1 files changed, 1 insertions, 0 deletions
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 = [{