diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2012-09-06 17:23:03 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2012-09-06 17:23:03 +0200 |
| commit | e084498b7dcdc65fd54d7682c91b3004eab8c979 (patch) | |
| tree | 2c95704781871282bfc74b0e34621b14cf7fc3cc /addons/note | |
| parent | 90e82478a40b996c3b45ec1c7aa8a68c9cb9c9e0 (diff) | |
| parent | 29b4e07e0953563390a8412cf8fcde271b18aba2 (diff) | |
[IMP] removing some board stuff
bzr revid: fp@tinyerp.com-20120906152303-v6svwvqms858xm9t
Diffstat (limited to 'addons/note')
| -rw-r--r-- | addons/note/note.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/note/note.py b/addons/note/note.py index bce54566e64..61b5caeff8d 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -68,7 +68,11 @@ class note_note(osv.osv): stage_ids = stage_obj._search(cr, uid, search_domain, order=self._order, access_rights_uid=access_rights_uid, context=context) result = stage_obj.name_get(cr, access_rights_uid, stage_ids, context=context) - return result + + fold = {} + for stage in stage_obj.browse(cr, access_rights_uid, stage_ids, context=context): + fold[stage.id] = stage.fold or False + return result, fold _columns = { 'name': fields.function(_get_note_first_line, fnct_inv=_set_note_first_line, string='Note Summary', type="text"), |
