diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-09-03 17:20:25 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-09-03 17:20:25 +0200 |
| commit | 9c26c8e00098e99a21b2896d7ea1d8d8ea7ee2eb (patch) | |
| tree | 3457393dffae387de470c5e2c1e579d4a1ba4de2 /addons/mail/mail_message_view.xml | |
| parent | 1be5a4d452f63e5c005e278b99a2390a1c5da682 (diff) | |
[IMP] mail: cleaning of the Chatter front-end.
Wall and Wall-like group menu entries: now use the correct
contexts to give to the composer.
res_users: posting on the user consists in posting on the
related partner. TODO: clean that when we have cleared our
minds about what to do when posting in the wall.
xml, css: small cleanup of dead code
mail.js: propagated the use of 'default_' values in the
various contexts (Wall, RecordThread, Thread, ComposeMessage);
cleaned do_action overrides; general cleanup of the code
and options propagation.
bzr revid: tde@openerp.com-20120903152025-bzchl603mzuhggn4
Diffstat (limited to 'addons/mail/mail_message_view.xml')
| -rw-r--r-- | addons/mail/mail_message_view.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/mail/mail_message_view.xml b/addons/mail/mail_message_view.xml index bc39a36cd3a..914937a34f3 100644 --- a/addons/mail/mail_message_view.xml +++ b/addons/mail/mail_message_view.xml @@ -90,13 +90,15 @@ <record id="action_mail_all_feeds" model="ir.actions.client"> <field name="name">News Feed</field> <field name="tag">mail.wall</field> - <field name="params" eval=""{'domain': [('notification_ids.partner_id.user_ids', 'in', [uid])] }""/> + <field name="params" eval=""{'domain': [('notification_ids.partner_id.user_ids', 'in', [uid])], + 'context': {'default_model': 'res.users', 'default_res_id': uid} }""/> </record> <record id="action_mail_my_feeds" model="ir.actions.client"> <field name="name">My Feeds</field> <field name="tag">mail.wall</field> - <field name="params" eval=""{'domain': [('author_id.user_ids', 'in', [uid])]}""/> + <field name="params" eval=""{'domain': [('author_id.user_ids', 'in', [uid])], + 'context': {'default_model': 'res.users', 'default_res_id': uid} }""/> </record> </data> </openerp> |
