[IMP] write to followers only if hr installed

bzr revid: mat@openerp.com-20130306143900-ypnqlf13p123ilcr
This commit is contained in:
Martin Trigaux 2013-03-06 15:39:00 +01:00
parent 5e19f8baad
commit 4409ab2777
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="mail.action_mail_inbox_feeds" model="ir.actions.client">
<field name="context">{
'default_model': 'res.users',
'default_res_id': uid,
}</field>
<field name="params" eval="&quot;{
'domain': [
('to_read', '=', True),
('starred', '=', False),
],
'view_mailbox': True,
'view_inbox': True,
'read_action': 'read',
'show_compose_message': True
}&quot;"/>
</record>
</data>
</openerp>

View File

@ -16,7 +16,8 @@
],
'view_mailbox': True,
'view_inbox': True,
'read_action': 'read'
'read_action': 'read',
'show_compose_message': False
}&quot;"/>
<field name="help" type="html">
<p>