[FIX] rst in mail

bzr revid: xmo@openerp.com-20130118165524-8vtor05ummjny24m
This commit is contained in:
Xavier Morel 2013-01-18 17:55:24 +01:00
parent 7a49719d46
commit d5cea4bb9c
2 changed files with 10 additions and 6 deletions

View File

@ -19,7 +19,10 @@ should inherit from this class.
.. versionchanged:: 7.0
ClientAction (ir.actions.client)
+++++++
++++++++++++++++++++++++++++++++
.. code-block:: xml
<record id="action_mail_inbox_feeds" model="ir.actions.client">
<field name="name">Inbox</field>
<field name="tag">mail.wall</field>
@ -35,6 +38,7 @@ ClientAction (ir.actions.client)
'mail_thread' widget for field on standard view. (default value like a thread for
record, view on flat mode, no reply, no read/unread)
'mail.widget' it's the root thread, used by 'mail.wall' and 'mail_thread'
- ``help`` : Text HTML to display if there are no message
- ``context`` : insert 'default_model' and 'default_res_id'
- ``params`` : options for the widget
@ -56,7 +60,7 @@ ClientAction (ir.actions.client)
- ``readonly`` : Read only mode, hide all action buttons and composer
Fields
+++++++
++++++
- ``type`` : usually 'email', 'comment', 'notification'.
Message type: email for external email message recieve, notification for system
@ -64,7 +68,7 @@ Fields
- ``subtype_id`` :
Subtype of the notification for system message. The users can followe a document
and choose the subtype of this document (eg: Create, Comment, Done).
You can defined new subtypes and choose his name, by agreement the id begin by "mt_" on the model
You can defined new subtypes and choose his name, by agreement the id begin by "mt\_" on the model
"mail.message.subtype".
- ``partner_ids`` :
List of recipients, the recipients have this message in their personal mailboxe.
@ -104,4 +108,4 @@ Methods
sort by id. The messages that the user can read but not in his search, are group in
expandable messages. The expandable messages contain the domain to expand.
- ``check_access_rule`` :
Overwrite the initial message for this model.
Overwrite the initial message for this model.

View File

@ -1,7 +1,7 @@
.. _mail_state:
message_unread
=============
==============
``message_unread`` is a boolean field that states whether the document
has unread messages. In previous versions, some documents were going
@ -10,7 +10,7 @@ gateway. Now the state related to messages differs from the state or
stage of the document itself.
message_unread and need action mechanism
+++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++
The ``mail`` module introduces a default behavior for the need_action
mechanism [REF].