diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-06-19 16:37:52 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-06-19 16:37:52 +0200 |
| commit | da0fcfc19fa512e1e1eb2bdaa78a2507abc82a7a (patch) | |
| tree | 61b33a46e4cd33ccf0cf4b50987cf68a3efb30ff /addons/mail | |
| parent | 3ebcb195d0ba17f0348dd3f23083b4358738ae3a (diff) | |
| parent | c9c27a2432dca8a23656659b07dbe77382307500 (diff) | |
[MERGE] latest trunk
bzr revid: abo@openerp.com-20120619143752-29v97mmr7xcttj9o
Diffstat (limited to 'addons/mail')
| -rw-r--r-- | addons/mail/mail_group_view.xml | 42 | ||||
| -rw-r--r-- | addons/mail/mail_message_view.xml | 130 |
2 files changed, 89 insertions, 83 deletions
diff --git a/addons/mail/mail_group_view.xml b/addons/mail/mail_group_view.xml index 67b2efc84a0..b2b34da8472 100644 --- a/addons/mail/mail_group_view.xml +++ b/addons/mail/mail_group_view.xml @@ -50,27 +50,29 @@ <field name="type">form</field> <field name="priority" eval="10"/> <field name="arch" type="xml"> - <form string="Group"> - <group colspan="4" col="8"> - <group colspan="6" col="4"> - <separator string="General Information" colspan="4"/> - <field name="name" colspan="2"/> - <field name="responsible_id" colspan="2"/> - <newline/> - <field name="description" colspan="4"/> + <form string="Group" version="7.0"> + <sheet> + <group colspan="4" col="8"> + <group colspan="6" col="4"> + <separator string="General Information" colspan="4"/> + <field name="name" colspan="2"/> + <field name="responsible_id" colspan="2"/> + <newline/> + <field name="description" colspan="4"/> + </group> + <group colspan="1" col="2"> + <separator string="Group Image" colspan="2"/> + <field name="photo" widget='image' nolabel="1" on_change="onchange_photo(photo)"/> + </group> + <group colspan="1" col="2"> + <separator string="Privacy Settings" colspan="2"/> + <field name="public" nolabel="1"/> + <label string="This group is visible by non members" colspan="2"/> + </group> </group> - <group colspan="1" col="2"> - <separator string="Group Image" colspan="2"/> - <field name="photo" widget='image' nolabel="1" on_change="onchange_photo(photo)"/> - </group> - <group colspan="1" col="2"> - <separator string="Privacy Settings" colspan="2"/> - <field name="public" nolabel="1"/> - <label string="This group is visible by non members" colspan="2"/> - </group> - </group> - <field name="message_ids" colspan="4" widget="ThreadView" nolabel="1" - options='{"thread_level": 1}'/> + <field name="message_ids" colspan="4" widget="ThreadView" nolabel="1" + options='{"thread_level": 1}'/> + </sheet> </form> </field> </record> diff --git a/addons/mail/mail_message_view.xml b/addons/mail/mail_message_view.xml index 1f7ec2297de..179486a4d93 100644 --- a/addons/mail/mail_message_view.xml +++ b/addons/mail/mail_message_view.xml @@ -26,20 +26,22 @@ <field name="priority">20</field> <field name="arch" type="xml"> <form string="Message" version="7.0"> - <group> + <sheet> <group> - <field name="subject"/> - <field name="date"/> - <field name="type"/> - <field name="body_text"/> - </group> - <group> - <field name="user_id" string="User"/> - <field name="model"/> - <field name="res_id"/> - <field name="parent_id"/> + <group> + <field name="subject"/> + <field name="date"/> + <field name="type"/> + <field name="body_text"/> + </group> + <group> + <field name="user_id" string="User"/> + <field name="model"/> + <field name="res_id"/> + <field name="parent_id"/> + </group> </group> - </group> + </sheet> </form> </field> </record> @@ -79,57 +81,59 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="Email message" version="7.0"> - <label for="subject" class="oe_form_readonly_hidden"/> - <h1><field name="subject"/></h1> - <label for="user_id"/> - <h2><field name="user_id" class="oe_form_inline" string="User"/> on <field name="date" class="oe_form_inline"/></h2> - <group col="4"> - <field name="partner_id" readonly="1" attrs="{'invisible':[('partner_id', '=', False)]}"/> - <field name="type"/> - </group> - <notebook colspan="4"> - <page string="Details"> - <group string="Recipients"> - <field name="email_from"/> - <field name="email_to"/> - <field name="email_cc" attrs="{'invisible':[('email_cc', '=', False)]}"/> - <field name="email_bcc" attrs="{'invisible':[('email_bcc', '=', False)]}"/> - <field name="reply_to" attrs="{'invisible':[('reply_to', '=', False)]}"/> - </group> - <group col="4" string="Message Details"> - <field name="model"/> - <button name="open_document" string="Open" type="object" icon="gtk-jump-to" colspan="2"/> - <field name="res_id"/> - <field name="message_id" colspan="4" attrs="{'invisible':[('message_id', '=', False)]}"/> - <field name="references" colspan="4" widget="char" size="512" attrs="{'invisible':[('references', '=', False)]}"/> - </group> - <notebook> - <page string="Body (Rich)" attrs="{'invisible':[('subtype','=','plain')]}"> - <field name="body_html" widget="text_html"/> - </page> - <page string="Body (Plain)"> - <field name="body_text" widget="text"/> - </page> - </notebook> - <group col="5"> - <field name="state" colspan="2"/> - <field name="subtype" attrs="{'invisible':[('subtype', '=', False)]}"/> - <button name="%(action_email_compose_message_wizard)d" string="Reply" type="action" icon="terp-mail-replied" - context="{'mail.compose.message.mode':'reply', 'message_id':active_id}" states='received,sent,exception,cancel'/> - </group> - </page> - <page string="Attachments"> - <field name="attachment_ids"/> - </page> - <page string="Advanced" groups="base.group_no_one"> - <group col="2" colspan="4"> - <field name="mail_server_id" attrs="{'invisible':[('mail_server_id', '=', False)]}"/> - <field name="auto_delete"/> - <field name="headers" colspan="4" attrs="{'invisible':[('headers', '=', False)]}"/> - <field name="original" colspan="4" attrs="{'invisible':[('original', '=', False)]}"/> - </group> - </page> - </notebook> + <sheet> + <label for="subject" class="oe_form_readonly_hidden"/> + <h1><field name="subject"/></h1> + <label for="user_id"/> + <h2><field name="user_id" class="oe_form_inline" string="User"/> on <field name="date" class="oe_form_inline"/></h2> + <group col="4"> + <field name="partner_id" readonly="1" attrs="{'invisible':[('partner_id', '=', False)]}"/> + <field name="type"/> + </group> + <notebook colspan="4"> + <page string="Details"> + <group string="Recipients"> + <field name="email_from"/> + <field name="email_to"/> + <field name="email_cc" attrs="{'invisible':[('email_cc', '=', False)]}"/> + <field name="email_bcc" attrs="{'invisible':[('email_bcc', '=', False)]}"/> + <field name="reply_to" attrs="{'invisible':[('reply_to', '=', False)]}"/> + </group> + <group col="4" string="Message Details"> + <field name="model"/> + <button name="open_document" string="Open" type="object" icon="gtk-jump-to" colspan="2"/> + <field name="res_id"/> + <field name="message_id" colspan="4" attrs="{'invisible':[('message_id', '=', False)]}"/> + <field name="references" colspan="4" widget="char" size="512" attrs="{'invisible':[('references', '=', False)]}"/> + </group> + <notebook> + <page string="Body (Rich)" attrs="{'invisible':[('subtype','=','plain')]}"> + <field name="body_html" widget="text_html"/> + </page> + <page string="Body (Plain)"> + <field name="body_text" widget="text"/> + </page> + </notebook> + <group col="5"> + <field name="state" colspan="2"/> + <field name="subtype" attrs="{'invisible':[('subtype', '=', False)]}"/> + <button name="%(action_email_compose_message_wizard)d" string="Reply" type="action" icon="terp-mail-replied" + context="{'mail.compose.message.mode':'reply', 'message_id':active_id}" states='received,sent,exception,cancel'/> + </group> + </page> + <page string="Attachments"> + <field name="attachment_ids"/> + </page> + <page string="Advanced" groups="base.group_no_one"> + <group col="2" colspan="4"> + <field name="mail_server_id" attrs="{'invisible':[('mail_server_id', '=', False)]}"/> + <field name="auto_delete"/> + <field name="headers" colspan="4" attrs="{'invisible':[('headers', '=', False)]}"/> + <field name="original" colspan="4" attrs="{'invisible':[('original', '=', False)]}"/> + </group> + </page> + </notebook> + </sheet> </form> </field> </record> |
