summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-03-01 15:13:02 +0100
committerChristophe Matthieu <chm@openerp.com>2013-03-01 15:13:02 +0100
commit4493f81e7ed455affacdb86bf88db4bf5c84e0ef (patch)
treecaedfe545771bde832d9c7b290bfe5c0a7fbfaea
parentdf3f19064746e89435303f0c6471717a5a1716df (diff)
[FIX] mail alias: remove space for alias in mail group view
bzr revid: chm@openerp.com-20130301141302-2nw49e0mitwhc1ma
-rw-r--r--addons/mail/mail_group_view.xml8
-rw-r--r--addons/mail/static/src/css/mail.css3
2 files changed, 8 insertions, 3 deletions
diff --git a/addons/mail/mail_group_view.xml b/addons/mail/mail_group_view.xml
index feb62e9aea4..d8ff7864528 100644
--- a/addons/mail/mail_group_view.xml
+++ b/addons/mail/mail_group_view.xml
@@ -76,9 +76,11 @@
</div>
<h1><field name="name" readonly="0"/></h1>
<div name="alias_box" colspan="4" attrs="{'invisible': [('alias_domain', '=', False)]}">
- <field name="alias_id" invisible="1" required="0"/>
- <label for="alias_name" class="oe_edit_only"/>
- <field name="alias_name" nolabel="1" class="oe_inline" style="padding-right:0;" attrs="{'required': [('alias_id', '!=', False)]}"/>@<field name="alias_domain" nolabel="1" class="oe_inline" style="padding-left:0;"/>
+ <field name="alias_id" class="oe_read_only" required="0"/>
+ <span class="oe_edit_only">
+ <label for="alias_name"/>
+ <field name="alias_name" nolabel="1" class="oe_inline" attrs="{'required': [('alias_id', '!=', False)]}"/>@<field name="alias_domain" nolabel="1" class="oe_inline" style="padding-left:0;"/>
+ </span>
</div>
</div>
<field name="description" placeholder="Topics discussed in this group..."/>
diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css
index e4e112cdfaf..1ffcb014b54 100644
--- a/addons/mail/static/src/css/mail.css
+++ b/addons/mail/static/src/css/mail.css
@@ -4,6 +4,9 @@
* 'button' element wich comes with a lot of inappropriate
* styling. Entypo is also a headache to center properly
* */
+.openerp .oe_form_editable .oe_read_only {
+ display: none;
+}
.openerp .oe_topbar_item.oe_topbar_compose_full_email{
padding: 0px;