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:
d639593
)
fix
author
Fabien Pinckaers
<fp@tinyerp.com>
Mon, 20 Aug 2012 13:02:32 +0000
(15:02 +0200)
committer
Fabien Pinckaers
<fp@tinyerp.com>
Mon, 20 Aug 2012 13:02:32 +0000
(15:02 +0200)
bzr revid: fp@tinyerp.com-
20120820130232
-qrw1zk5i2fhe22qk
addons/mail/mail_thread.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_thread.py
b/addons/mail/mail_thread.py
index
a0d2ae5
..
544ebf2
100644
(file)
--- a/
addons/mail/mail_thread.py
+++ b/
addons/mail/mail_thread.py
@@
-560,7
+560,7
@@
class mail_thread(osv.Model):
value = kwargs
value.update( {
- 'model': self._name,
+ 'model': res_id and self._name or False,
'res_id': res_id,
'body': body,
'subject': subject,