[CLEAN] Misc cleaning in comments and domain for mailboxes.

bzr revid: tde@openerp.com-20121107153910-uo22t1ahd9qoo1ub
This commit is contained in:
Thibault Delavallée
2012-11-07 16:39:10 +01:00
parent 281a4d0801
commit da6ee587e3
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -629,7 +629,8 @@ class mail_thread(osv.AbstractModel):
mail.message ID. Extra keyword arguments will be used as default
column values for the new mail.message record.
Auto link messages for same id and object
:param int thread_id: thread ID to post into, or list with one ID
:param int thread_id: thread ID to post into, or list with one ID;
if False/0, mail.message model will also be set as False
:param str body: body of the message, usually raw HTML that will
be sanitized
:param str subject: optional subject
+1 -1
View File
@@ -11,7 +11,7 @@
<record id="action_mail_to_me_feeds" model="ir.actions.client">
<field name="name">To: me</field>
<field name="tag">mail.wall</field>
<field name="params" eval="&quot;{'domain': [('partner_ids.user_ids', 'in', [uid]), ('to_read', '=', True), ('author_id.user_ids', 'in', [uid])],
<field name="params" eval="&quot;{'domain': [('partner_ids.user_ids', 'in', [uid])],
'context': {'default_model': 'res.users', 'default_res_id': uid, 'typeof_thread': 'inbox'} }&quot;"/>
</record>
+1 -1
View File
@@ -48,7 +48,7 @@ class res_partner_mail(osv.Model):
private:
- add the target partner in the message partner_ids
- set thread_id as None, because this will trigger the 'private'
aspect of the message (model=False, res_is=False)
aspect of the message (model=False, res_id=False)
"""
if isinstance(thread_id, (list, tuple)):
thread_id = thread_id[0]