summaryrefslogtreecommitdiff
path: root/addons/note/note.py
diff options
context:
space:
mode:
authorggh-openerp <ggh@tinyerp.com>2013-04-05 16:28:32 +0530
committerggh-openerp <ggh@tinyerp.com>2013-04-05 16:28:32 +0530
commit4d8577c2094c57988aca49446c8f5fa0c9de1e97 (patch)
tree4f2d632fca414ba75aeaa7cfb82555f6110fb179 /addons/note/note.py
parentd59be8dcd54d2d628cdcf42fa041ab7a30791f5f (diff)
[IMP] Note: displays strike notes.
bzr revid: ggh@tinyerp.com-20130405105832-qsiukfmh42v6mkcv
Diffstat (limited to 'addons/note/note.py')
-rw-r--r--addons/note/note.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/note/note.py b/addons/note/note.py
index 2d95b15107a..4a2c9e8e283 100644
--- a/addons/note/note.py
+++ b/addons/note/note.py
@@ -133,7 +133,7 @@ class note_note(osv.osv):
result = [{ #notes by stage for stages user
'__context': {'group_by': groupby[1:]},
- '__domain': domain + [('stage_ids.id', '=', current_stage_id)],
+ '__domain': [('stage_ids.id', '=', current_stage_id)],
'stage_id': (current_stage_id, stage_name[current_stage_id]),
'stage_id_count': self.search(cr,uid, domain+[('stage_ids', '=', current_stage_id)], context=context, count=True)
} for current_stage_id in current_stage_ids]