crm :remove comment
bzr revid: asr@tinyerp.com-20110628104635-e7w3eupitogc8p04
This commit is contained in:
parent
b0e033f261
commit
b84340d46e
|
@ -91,7 +91,7 @@ class crm_phonecall(crm_base, osv.osv):
|
|||
'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'),
|
||||
'priority': crm.AVAILABLE_PRIORITIES[2][0],
|
||||
'state': _get_default_state,
|
||||
#'user_id': lambda self,cr,uid,ctx: uid,
|
||||
'user_id': lambda self,cr,uid,ctx: uid,
|
||||
'active': 1,
|
||||
}
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ class crm_opportunity2phonecall(osv.osv_memory):
|
|||
|
||||
value = {
|
||||
'name': _('Phone Call'),
|
||||
#'domain': "[('user_id','=',%s),('opportunity_id','=',%s)]" % (uid,opp.id),
|
||||
'domain': "[('user_id','=',%s),('opportunity_id','=',%s)]" % (uid,opp.id),
|
||||
'view_type': 'form',
|
||||
'view_mode': 'tree,form',
|
||||
'res_model': 'crm.phonecall',
|
||||
|
@ -152,7 +152,6 @@ class crm_opportunity2phonecall(osv.osv_memory):
|
|||
'views': [(id3, 'form'), (id2, 'tree'), (False, 'calendar')],
|
||||
'type': 'ir.actions.act_window',
|
||||
'search_view_id': res['res_id'],
|
||||
'context':context,
|
||||
}
|
||||
return value
|
||||
|
||||
|
|
Loading…
Reference in New Issue