[FIX]:crm: add the missing field and put comment onsome file

bzr revid: sbh@tinyerp.com-20100111121205-fu3h294ylbs9j5oy
This commit is contained in:
sbh (Open ERP) 2010-01-11 17:42:05 +05:30
parent d5f246481a
commit f9a92e7467
3 changed files with 7 additions and 4 deletions

View File

@ -32,7 +32,7 @@ import crm_job
import crm_helpdesk
import report
#import report
import wizard

View File

@ -82,11 +82,11 @@ between mails and Open ERP.""",
'crm_phonecall_wizard.xml',
'crm_phonecall_view.xml',
'crm_phonecall_menu.xml',
'crm_report_view.xml',
# 'crm_report_view.xml',
'crm_helpdesk_view.xml',
'crm_report.xml',
#'crm_report.xml',
'security/crm_security.xml',
'security/ir.model.access.csv',
#'security/ir.model.access.csv',
'process/crm_configuration_process.xml'
],
'demo_xml': [

View File

@ -67,6 +67,9 @@ class crm_fundraising(osv.osv):
'category2_id': fields.many2one('crm.case.category2', 'Category Name', domain="[('section_id','=',section_id)]"),
'duration': fields.float('Duration'),
'case_id': fields.many2one('crm.case', 'Related Case'),
'ref' : fields.reference('Reference', selection=_links_get, size=128),
'ref2' : fields.reference('Reference 2', selection=_links_get, size=128),
}
_defaults = {
'priority': lambda *a: AVAILABLE_PRIORITIES[2][0],