old_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU Affero General Public License as
  #    published by the Free Software Foundation, either version 3 of the
  #    License, or (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU Affero General Public License for more details.
  #
  #    You should have received a copy of the GNU Affero General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  from osv import osv, fields
  
  class crm_meeting(osv.osv):
      _inherit = "crm.meeting"
  
      def unlink(self, cr, uid, ids, context=None):
          model_obj = self.pool.get('ir.model.data')
          model_ids = model_obj.search(cr, uid, [('res_id','in',ids),('model','=','crm.meeting'),('module','=','sync_google_calendar')], context=context)
          model_obj.unlink(cr, uid, model_ids, context=context)
          return super(crm_meeting, self).unlink(cr, uid, ids, context=context)
  
  crm_meeting()
  
  class crm_case_categ(osv.osv):
      """ Category of Case """
      _inherit = "crm.case.categ"
      _columns = {
          'user_id': fields.many2one('res.users', 'User')
      }
  crm_case_categ()
  
  # vim:expandtab:smartindent:toabstop=4:softtabstop=4:shiftwidth=4:
  
new_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU Affero General Public License as
  #    published by the Free Software Foundation, either version 3 of the
  #    License, or (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU Affero General Public License for more details.
  #
  #    You should have received a copy of the GNU Affero General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  from osv import osv, fields
  import base
  from base_calendar import base_calendar
  class crm_meeting(osv.osv):
      _inherit = "crm.meeting"
  
      def unlink(self, cr, uid, ids, context=None):
          model_obj = self.pool.get('ir.model.data')
          for meeting_id in ids:
              id=base_calendar.base_calendar_id2real_id(meeting_id)
              model_ids = model_obj.search(cr, uid, [('res_id','in',[id]),('model','=','crm.meeting'),('module','=','sync_google_calendar')], context=context)
              model_obj.unlink(cr, uid, model_ids, context=context)
          return super(crm_meeting, self).unlink(cr, uid, ids, context=context)
  
  crm_meeting()
  
  class crm_case_categ(osv.osv):
      """ Category of Case """
      _inherit = "crm.case.categ"
      _columns = {
          'user_id': fields.many2one('res.users', 'User')
      }
  crm_case_categ()
  
  # vim:expandtab:smartindent:toabstop=4:softtabstop=4:shiftwidth=4:
  
subject: Fix the recurent meeting unlike problem