[IMP]: removed _log_create=True in crm and mailgateway module.
bzr revid: atp@tinyerp.co.in-20100623065651-zo5x336p2fbuei0g
This commit is contained in:
@@ -36,7 +36,6 @@ class crm_lead(osv.osv, crm_case):
|
||||
_order = "priority, id desc"
|
||||
_inherit = ['res.partner.address']
|
||||
_inherits = {'mailgate.thread': 'thread_id'}
|
||||
_log_create=True
|
||||
|
||||
def _compute_day(self, cr, uid, ids, fields, args, context={}):
|
||||
"""
|
||||
|
||||
@@ -45,7 +45,7 @@ class crm_meeting(osv.osv, crm_case):
|
||||
_order = "id desc"
|
||||
_inherit = ["calendar.event"]
|
||||
_inherits = {'mailgate.thread': 'thread_id'}
|
||||
_log_create=True
|
||||
|
||||
|
||||
_columns = {
|
||||
# From crm.case
|
||||
|
||||
@@ -32,7 +32,7 @@ class crm_phonecall(osv.osv, crm_case):
|
||||
_description = "Phonecall"
|
||||
_order = "id desc"
|
||||
_inherits = {'mailgate.thread': 'thread_id'}
|
||||
_log_create=True
|
||||
|
||||
|
||||
_columns = {
|
||||
# From crm.case
|
||||
|
||||
@@ -30,7 +30,7 @@ class crm_claim(osv.osv, crm.crm_case):
|
||||
_description = "Claim Cases"
|
||||
_order = "id desc"
|
||||
_inherits = {'mailgate.thread': 'thread_id'}
|
||||
_log_create=True
|
||||
|
||||
|
||||
_columns = {
|
||||
'thread_id': fields.many2one('mailgate.thread', 'Thread', required=False),
|
||||
|
||||
@@ -29,7 +29,7 @@ class crm_fundraising(osv.osv, crm.crm_case):
|
||||
_description = "Fund Raising Cases"
|
||||
_order = "id desc"
|
||||
_inherits = {'mailgate.thread': 'thread_id'}
|
||||
_log_create=True
|
||||
|
||||
|
||||
_columns = {
|
||||
'thread_id': fields.many2one('mailgate.thread', 'Thread', required=False),
|
||||
|
||||
@@ -29,7 +29,7 @@ class crm_helpdesk(osv.osv, crm.crm_case):
|
||||
_description = "Helpdesk Cases"
|
||||
_order = "id desc"
|
||||
_inherits = {'mailgate.thread': 'thread_id'}
|
||||
_log_create=True
|
||||
|
||||
|
||||
_columns = {
|
||||
'thread_id': fields.many2one('mailgate.thread', 'Thread', required=False),
|
||||
|
||||
@@ -158,7 +158,7 @@ class questionnaire(osv.osv):
|
||||
|
||||
_name="crm_profiling.questionnaire"
|
||||
_description= "Questionnaire"
|
||||
_log_create = True
|
||||
|
||||
|
||||
def build_form(self, cr, uid, data, context):
|
||||
"""
|
||||
|
||||
@@ -36,7 +36,7 @@ class mailgate_thread(osv.osv):
|
||||
_name = 'mailgate.thread'
|
||||
_description = 'Mailgateway Thread'
|
||||
_rec_name = 'thread'
|
||||
|
||||
|
||||
_columns = {
|
||||
'thread': fields.char('Thread', size=32, required=False),
|
||||
'message_ids': fields.one2many('mailgate.message', 'thread_id', 'Messages', domain=[('history', '=', True)], required=False),
|
||||
@@ -120,8 +120,7 @@ class mailgate_message(osv.osv):
|
||||
_name = 'mailgate.message'
|
||||
_description = 'Mailgateway Message'
|
||||
_order = 'date desc'
|
||||
_log_create=True
|
||||
|
||||
|
||||
_columns = {
|
||||
'name':fields.char('Message', size=64),
|
||||
'thread_id':fields.many2one('mailgate.thread', 'Thread'),
|
||||
|
||||
Reference in New Issue
Block a user