[REF]: Corrections for views.

bzr revid: uco@tinyerp.com-20110420091739-iyg7ezi3gybyir51
This commit is contained in:
Ujjvala Collins (OpenERP)
2011-04-20 14:47:39 +05:30
parent 36b300d4d1
commit 55977b08c8
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ class crm_phonecall(crm_case, osv.osv):
('open', 'Todo'),
('cancel', 'Cancelled'),
('done', 'Held'),
('pending', 'Not Held'),
('pending', 'Pending'),
], 'State', size=16, readonly=True,
help='The state is set to \'Draft\', when a case is created.\
\nIf the case is in progress the state is set to \'Open\'.\
@@ -79,7 +79,7 @@ class crm_phonecall(crm_case, osv.osv):
the canall which is this opportunity source."),
'date_closed': fields.datetime('Closed', readonly=True),
'date': fields.datetime('Date'),
'opportunity_id': fields.many2one ('crm.lead', 'Opportunity'),
'opportunity_id': fields.many2one ('crm.lead', 'Lead/Opportunity'),
'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('model','=',_name)]),
}
+1 -1
View File
@@ -28,7 +28,7 @@ AVAILABLE_STATES = [
('open','Todo'),
('cancel', 'Cancelled'),
('done', 'Held'),
('pending','Not Held')
('pending','Pending')
]
@@ -9,10 +9,10 @@
<field name="model">crm.opportunity2phonecall</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Register a PhoneCall">
<separator string="Register a PhoneCall" colspan="4"/>
<form string="Register a call">
<separator string="Register a call" colspan="4"/>
<field name="action"/>
<separator string="PhoneCall Details" colspan="4"/>
<separator string="Call Details" colspan="4"/>
<field name="name"/>
<field name="date" string="Planned Date"/>
<newline/>
@@ -23,7 +23,7 @@
<group colspan="4">
<label string ="" colspan="2"/>
<button name="action_cancel" string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="action_apply" type="object" string="_Schedule Call" icon="gtk-ok" />
<button name="action_apply" type="object" string="Register call" icon="gtk-ok" />
</group>
</form>
</field>
@@ -9,8 +9,8 @@
<field name="model">crm.phonecall2phonecall</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Register Other Call">
<separator string="Register a PhoneCall" colspan="4"/>
<form string="Register a call">
<separator string="Register a call" colspan="4"/>
<field name="action"/>
<separator string="Call Details" colspan="4"/>
<field name="name"/>
@@ -22,7 +22,7 @@
<group colspan="4" col="3" >
<label string=" " />
<button name="action_cancel" string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="action_apply" type="object" string="_Schedule" icon="gtk-ok" />
<button name="action_apply" type="object" string="Register call" icon="gtk-ok" />
</group>
</form>
</field>