From d5cea4bb9c18152059d058b23dea6d34dcbd7c90 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 18 Jan 2013 17:55:24 +0100 Subject: [PATCH] [FIX] rst in mail bzr revid: xmo@openerp.com-20130118165524-8vtor05ummjny24m --- addons/mail/doc/mail_message.rst | 12 ++++++++---- addons/mail/doc/mail_state.rst | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/addons/mail/doc/mail_message.rst b/addons/mail/doc/mail_message.rst index 14055f063e0..c641182be31 100644 --- a/addons/mail/doc/mail_message.rst +++ b/addons/mail/doc/mail_message.rst @@ -19,7 +19,10 @@ should inherit from this class. .. versionchanged:: 7.0 ClientAction (ir.actions.client) -+++++++ +++++++++++++++++++++++++++++++++ + +.. code-block:: xml + Inbox mail.wall @@ -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. \ No newline at end of file + Overwrite the initial message for this model. diff --git a/addons/mail/doc/mail_state.rst b/addons/mail/doc/mail_state.rst index fc2772bf094..cf1874ffca1 100644 --- a/addons/mail/doc/mail_state.rst +++ b/addons/mail/doc/mail_state.rst @@ -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].