summaryrefslogtreecommitdiff
path: root/addons/project_mailgate/project_mailgate_view.xml
diff options
context:
space:
mode:
authorPAP(OpenERP) <>2010-08-20 17:08:44 +0530
committerMustufa Rangwala <mra@mra-laptop>2010-08-20 17:08:44 +0530
commitad7a4d48812be210524bc1e6ffd82af8ee3114e7 (patch)
tree9f0f605589de7aa3db29a49c7f48e3601b55c6af /addons/project_mailgate/project_mailgate_view.xml
parentac330c97e3987633b9ddddbf357aec498145e042 (diff)
[ADD] Project_mailgate module added (separated it from project)
bzr revid: mra@mra-laptop-20100820113844-c2340zsy0y1h271h
Diffstat (limited to 'addons/project_mailgate/project_mailgate_view.xml')
-rw-r--r--addons/project_mailgate/project_mailgate_view.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/addons/project_mailgate/project_mailgate_view.xml b/addons/project_mailgate/project_mailgate_view.xml
new file mode 100644
index 00000000000..b31eb85328e
--- /dev/null
+++ b/addons/project_mailgate/project_mailgate_view.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+ <openerp>
+ <data>
+ <record id="view_task_mailgate_form" model="ir.ui.view">
+ <field name="name">task.mailgate.form</field>
+ <field name="model">project.task</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="project.view_task_form2"/>
+ <field name="arch" type="xml">
+ <xpath expr="/form/notebook/page[@string='Extra Info']" position="before">
+ <page string="Communication History">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
+ <tree string="Communication 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="name" colspan="4" widget="char" size="512"/>
+ <field name="history" invisible="1"/>
+ </group>
+ <notebook colspan="4">
+ <page string="Details">
+ <group attrs="{'invisible': [('history', '!=', True)]}">
+ <field name="description" colspan="4" nolabel="1" height="250"/>
+ </group>
+ <group attrs="{'invisible': [('history', '=', True)]}">
+ <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>
+ </field>
+ </record>
+ </data>
+</openerp> \ No newline at end of file