summaryrefslogtreecommitdiff
path: root/addons/note/note.py
diff options
context:
space:
mode:
authorForam Katharotiya (OpenERP) <fka@tinyerp.com>2013-12-13 18:21:09 +0530
committerForam Katharotiya (OpenERP) <fka@tinyerp.com>2013-12-13 18:21:09 +0530
commitc498a4e8bce677b5a12bb1c75deab4d3b2b38ce4 (patch)
tree06c5ee442064406079166b77f75cea633e5b39b0 /addons/note/note.py
parenta71cb6e1950290ffcbfd00e3bd93967af807e2b7 (diff)
parent94b4618c130e325800eee33041909af8733dd567 (diff)
[MERGE] with 7.0
bzr revid: fka@tinyerp.com-20131213125109-jjq1svpf0oyjykq5
Diffstat (limited to 'addons/note/note.py')
-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 = [{