@ -8,13 +8,13 @@
<field name= "priority" eval= "50" />
<field name= "priority" eval= "50" />
<field name= "arch" type= "xml" >
<field name= "arch" type= "xml" >
<div name= "button_box" position= "inside" >
<div name= "button_box" position= "inside" >
<button class= "oe_stat_button" type= "action"
<button class= "oe_stat_button mails_to " type= "action"
name="%(action_mails)d"
name="%(action_mails)d"
context="{'search_default_partner_ids': [active_id], 'default_model': 'res.partner', 'default_res_id': active_id}"
context="{'search_default_partner_ids': [active_id], 'default_model': 'res.partner', 'default_res_id': active_id}"
icon="fa-envelope">
icon="fa-envelope">
<field string= "Mails to" name= "mails_to" widget= "statinfo" />
<field string= "Mails to" name= "mails_to" widget= "statinfo" />
</button>
</button>
<button class= "oe_stat_button" type= "action"
<button class= "oe_stat_button mails_from " type= "action"
name="%(action_mails)d"
name="%(action_mails)d"
context="{'search_default_author_id': active_id, 'default_model': 'res.partner', 'default_res_id': active_id}"
context="{'search_default_author_id': active_id, 'default_model': 'res.partner', 'default_res_id': active_id}"
icon="fa-envelope-o">
icon="fa-envelope-o">
@ -23,5 +23,15 @@
</div>
</div>
</field>
</field>
</record>
</record>
<record id= "res_partner_mails_count_tutorial" model= "ir.actions.act_url" >
<field name= "name" > res_partner_mails_count Tutorial</field>
<field name= "url" eval= "'/web?debug=1&res_partner_mails_count=tutorial#id='+str(ref('base.partner_root'))+'&view_type=form&model=res.partner&/#tutorial_extra.mails_count_tour=true'" />
<field name= "target" > self</field>
</record>
<record id= "base.open_menu" model= "ir.actions.todo" >
<field name= "action_id" ref= "res_partner_mails_count_tutorial" />
<field name= "state" > open</field>
<field name= "sequence" > 200</field>
</record>
</data>
</data>
</openerp>
</openerp>