Xavier (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-mail-message-o2m-form-removal-xmo into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mail-message-o2m-form-removal-xmo/+merge/84476
Removed form view from all mail message o2ms, according to:
mail communication history --> Web Client
* dont define view form only list
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mail-message-o2m-form-removal-xmo/+merge/84476
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-mail-message-o2m-form-removal-xmo.
=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml 2011-12-01 16:08:19 +0000
+++ crm/crm_lead_view.xml 2011-12-05 14:10:29 +0000
@@ -147,7 +147,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" widget="char" size="512"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -157,35 +157,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <group col="2" colspan="2" attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="email_from"/>
- <field name="email_to" size="512"/>
- </group>
- <group col="2" colspan="2">
- <field name="date"/>
- <field name="email_cc" size="512" attrs="{'invisible': [('email_from', '=', False)]}"/>
- </group>
- <field name="subject" colspan="4" widget="char" attrs="{'invisible': [('email_from', '=', False)]}" size="512"/>
- <field name="display_text" colspan="4" attrs="{'invisible': [('email_from', '!=', False)]}"/>
- </group>
- <notebook colspan="4">
- <page string="Details" attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1"/>
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply'}"
- icon="terp-mail-replied" type="action"/>
- </group>
-
- </page>
- <page string="Attachments" attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
@@ -578,7 +549,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" widget="char" size="512"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -588,34 +559,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <group col="2" colspan="2" attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="email_from"/>
- <field name="email_to" size="512"/>
- </group>
- <group col="2" colspan="2">
- <field name="date"/>
- <field name="email_cc" size="512" attrs="{'invisible': [('email_from', '=', False)]}"/>
- </group>
- <field name="subject" colspan="4" widget="char" attrs="{'invisible': [('email_from', '=', False)]}" size="512"/>
- <field name="display_text" colspan="4" attrs="{'invisible': [('email_from', '!=', False)]}"/>
- </group>
- <notebook colspan="4">
- <page string="Details" attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1"/>
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply'}"
- icon="terp-mail-replied" type="action"/>
- </group>
- </page>
- <page string="Attachments" attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
=== modified file 'crm_claim/crm_claim_view.xml'
--- crm_claim/crm_claim_view.xml 2011-11-25 17:09:06 +0000
+++ crm_claim/crm_claim_view.xml 2011-12-05 14:10:29 +0000
@@ -151,7 +151,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" string="Global CC" widget="char"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -161,32 +161,6 @@
context="{'mail.compose.message.mode':'reply'}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="Communication & History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
- icon="terp-mail-replied" type="action"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
=== modified file 'crm_fundraising/crm_fundraising_view.xml'
--- crm_fundraising/crm_fundraising_view.xml 2011-11-24 14:20:01 +0000
+++ crm_fundraising/crm_fundraising_view.xml 2011-12-05 14:10:29 +0000
@@ -136,7 +136,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" string="Global CC" widget="char"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -146,32 +146,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
- icon="terp-mail-replied" type="action"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
=== modified file 'crm_helpdesk/crm_helpdesk_view.xml'
--- crm_helpdesk/crm_helpdesk_view.xml 2011-11-24 14:20:01 +0000
+++ crm_helpdesk/crm_helpdesk_view.xml 2011-12-05 14:10:29 +0000
@@ -96,7 +96,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" string="Global CC" widget="char"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -106,32 +106,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
- icon="terp-mail-replied" type="action"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
=== modified file 'event/event_view.xml'
--- event/event_view.xml 2011-11-11 14:54:10 +0000
+++ event/event_view.xml 2011-12-05 14:10:29 +0000
@@ -388,7 +388,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" string="CC" widget="char" size="512"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -398,32 +398,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
- icon="terp-mail-replied" type="action"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
=== modified file 'hr_recruitment/hr_recruitment_view.xml'
--- hr_recruitment/hr_recruitment_view.xml 2011-12-01 13:00:02 +0000
+++ hr_recruitment/hr_recruitment_view.xml 2011-12-05 14:10:29 +0000
@@ -145,7 +145,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" string="Global CC" widget="char"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -155,32 +155,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
- icon="terp-mail-replied" type="action"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
=== modified file 'mail/mail_thread_view.xml'
--- mail/mail_thread_view.xml 2011-08-23 17:58:09 +0000
+++ mail/mail_thread_view.xml 2011-12-05 14:10:29 +0000
@@ -8,29 +8,10 @@
<field name="arch" type="xml">
<form string="Email Thread">
<separator string="Communication History" colspan="4"/>
- <field name="message_ids" nolabel="1" colspan="4" mode="tree,form">
+ <field name="message_ids" nolabel="1" colspan="4" mode="tree">
<tree string="Communication History">
<field name="display_text"/>
</tree>
- <form string="Message">
- <field name="subject" widget="char"/>
- <field name="date"/>
- <field name="user_id"/>
- <notebook colspan="4">
- <page string="Email Details">
- <group col="4" colspan="4">
- <separator string="Email Details" colspan="4"/>
- <field name="email_from"/>
- <field name="email_to"/>
- <field name="email_cc"/>
- <field name="email_bcc"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" nolabel="1" colspan="4" />
- </page>
- </notebook>
- </form>
</field>
</form>
</field>
=== modified file 'project_issue/project_issue_view.xml'
--- project_issue/project_issue_view.xml 2011-12-01 13:00:02 +0000
+++ project_issue/project_issue_view.xml 2011-12-05 14:10:29 +0000
@@ -96,7 +96,7 @@
<group colspan="4">
<field colspan="4" name="email_cc" string="Global CC" widget="url"/>
</group>
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
@@ -106,32 +106,6 @@
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- <button colspan="4" string="Reply"
- name="%(mail.action_email_compose_message_wizard)d"
- context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
- icon="terp-mail-replied" type="action"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
<separator colspan="4"/>
<button string="Add Internal Note"
=== modified file 'project_mailgate/project_mailgate_view.xml'
--- project_mailgate/project_mailgate_view.xml 2011-09-07 21:17:36 +0000
+++ project_mailgate/project_mailgate_view.xml 2011-12-05 14:10:29 +0000
@@ -9,32 +9,10 @@
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='Extra Info']" position="before">
<page string="History">
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
</tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="email_from"/>
- <field name="date"/>
- <field name="email_to" widget="char" size="512"/>
- <field name="email_cc" widget="char" size="512"/>
- <field name="subject" colspan="4" widget="char" size="512"/>
- </group>
- <notebook colspan="4">
- <page string="Details">
- <group attrs="{'invisible': [('email_from', '=', False)]}">
- <field name="body_text" colspan="4" nolabel="1" height="250"/>
- </group>
- <group attrs="{'invisible': [('email_from', '!=', False)]}">
- <field name="display_text" colspan="4" nolabel="1" height="250"/>
- </group>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
- </page>
- </notebook>
- </form>
</field>
</page>
</xpath>
=== modified file 'project_messages/project_messages_view.xml'
--- project_messages/project_messages_view.xml 2011-09-17 11:03:17 +0000
+++ project_messages/project_messages_view.xml 2011-12-05 14:10:29 +0000
@@ -15,15 +15,6 @@
<field name="from_id"/>
<field name="to_id"/>
</tree>
- <form>
- <group>
- <field name="from_id"/>
- <field name="to_id"/>
- <newline/>
- <separator colspan="4" string="Message"/>
- <field nolabel="1" name="message" colspan="4"/>
- </group>
- </form>
</field>
</page>
</xpath>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp