summaryrefslogtreecommitdiff
path: root/addons/document_ics/document_view.xml
diff options
context:
space:
mode:
authorHarry (Open ERP) <hmo@tinyerp.com>2009-05-08 14:24:08 +0530
committerHarry (Open ERP) <hmo@tinyerp.com>2009-05-08 14:24:08 +0530
commit1386b881957d85fe644fdbcabc037dca7518a3c0 (patch)
tree588538d16aa877d0d392eb137570482b19c7ceb1 /addons/document_ics/document_view.xml
parent6bc5008acbd9f975a021f0309fe296dd597255c2 (diff)
[IMP]
* New Configuration wizard : create calendors for sections which are selected in wizard * The field code of crm.case have to be unique and when the server restart it produces identics sequencies * Management of the true date format ( instead of a datetime with 9:00 fixed) * Add the creation date of the object and the modification date (needed for iCal on Mac) * automatic completion of end date if the start date and the length is give * if the OpenERP field selected for dtend is an integer or a float (instead of a date), write dtstart+duration when generating the ics for dtend. Same for parsing .ics files. bzr revid: hmo@tinyerp.com-20090508085408-ot6c3mywkmbsi3q2
Diffstat (limited to 'addons/document_ics/document_view.xml')
-rw-r--r--addons/document_ics/document_view.xml27
1 files changed, 26 insertions, 1 deletions
diff --git a/addons/document_ics/document_view.xml b/addons/document_ics/document_view.xml
index bdc82d5e6d2..1623be30af6 100644
--- a/addons/document_ics/document_view.xml
+++ b/addons/document_ics/document_view.xml
@@ -20,6 +20,31 @@
</field>
</field>
</record>
-
+
+ <record model="ir.ui.view" id="view_case_inherit_form">
+ <field name="name">crm.case.code.form</field>
+ <field name="model">crm.case</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="crm.crm_case-view"/>
+ <field name="arch" type="xml">
+ <field name="priority" position="after">
+ <field name="code"/>
+ </field>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_case_inherit_form1">
+ <field name="name">crm.case.inherit.form1</field>
+ <field name="model">crm.case</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="crm.crm_case-view"/>
+ <field name="arch" type="xml">
+ <field name="date" position="replace">
+ <field name="date" on_change="on_change_duration(date, duration)" required="1"/>
+ <field name="duration" string="Duration(In Hour)" on_change="on_change_duration(date, duration)" widget="float_time"/>
+ </field>
+ </field>
+ </record>
+
</data>
</openerp>