projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b54b1
)
[FIX] if not list then assign list value.
author
Bhumi Thakkar (Open ERP)
<bth@tinyerp.com>
Tue, 20 Mar 2012 11:43:01 +0000
(17:13 +0530)
committer
Bhumi Thakkar (Open ERP)
<bth@tinyerp.com>
Tue, 20 Mar 2012 11:43:01 +0000
(17:13 +0530)
bzr revid: bth@tinyerp.com-
20120320114301
-j0nxo25x290i0kgh
addons/project/project.py
patch
|
blob
|
history
diff --git
a/addons/project/project.py
b/addons/project/project.py
index
102900e
..
8578ac3
100644
(file)
--- a/
addons/project/project.py
+++ b/
addons/project/project.py
@@
-1050,6
+1050,7
@@
class task(osv.osv):
return True
def do_pending_send_note(self, cr, uid, ids, context=None):
+ if not isinstance(ids,list): ids = [ids]
msg = 'Task is now <b>pending</b>.'
self.message_append_note(cr, uid, ids, 'System Notification', msg, context=context)
return True