Browse Source

Convert tabs in spaces

pull/3/head
x620 9 years ago
parent
commit
f2a20020fc
  1. 6
      res_partner_mails_count/templates.xml
  2. 8
      res_partner_mails_count/views/res_partner_mails_count.xml

6
res_partner_mails_count/templates.xml

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
<template id="res_partner_mails_count_assets_backend"
<template id="res_partner_mails_count_assets_backend"
name="res_partner_mails_count_assets_backend" name="res_partner_mails_count_assets_backend"
inherit_id="web.assets_backend"> inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
@ -9,7 +9,7 @@
type="text/javascript"></script> type="text/javascript"></script>
</xpath> </xpath>
</template> </template>
<record id="view_res_partner_mails_count_info_form" model="ir.ui.view">
<record id="view_res_partner_mails_count_info_form" model="ir.ui.view">
<field name="name">res.partner.mails.count</field> <field name="name">res.partner.mails.count</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/> <field name="inherit_id" ref="base.view_partner_form"/>
@ -22,7 +22,7 @@
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_inline oe_stat_button" type="action"
<button class="oe_inline oe_stat_button" 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">

8
res_partner_mails_count/views/res_partner_mails_count.xml

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<openerp> <openerp>
<data>
<record id="action_mails" model="ir.actions.client">
<data>
<record id="action_mails" model="ir.actions.client">
<field name="name">Mails</field> <field name="name">Mails</field>
<field name="tag">mail.wall</field> <field name="tag">mail.wall</field>
<field name="res_model">mail.message</field> <field name="res_model">mail.message</field>
<field name="context">{ <field name="context">{
'ignore_search_model': True,
'ignore_search_model': True,
}</field> }</field>
<field name="help" type="html"> <field name="help" type="html">
<p> <p>
@ -14,5 +14,5 @@
</p> </p>
</field> </field>
</record> </record>
</data>
</data>
</openerp> </openerp>
Loading…
Cancel
Save