[FIX] fix module name

This commit is contained in:
Benoit Guillot 2013-04-03 17:47:11 +02:00
parent 8de978bb71
commit 140fa02533
2 changed files with 8 additions and 14 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# file_buffer_from_mail for OpenERP
# file_email for OpenERP
# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>.
# @author Sébastien BEAU <sebastien.beau@akretion.com>
#
@ -21,7 +21,7 @@
###############################################################################
{
'name': 'file_buffer_from_mail',
'name': 'file_email',
'version': '0.1',
'category': 'Generic Modules/Others',
'license': 'AGPL-3',

View File

@ -20,10 +20,10 @@
#
###############################################################################
from openerp.osv import fields
from openerp.osv.orm import Model
from openerp.osv import fields, orm
class file_buffer(Model):
class file_buffer(orm.Model):
_inherit = "file.buffer"
def _prepare_data_for_file_buffer(self, cr, uid, msg, context=None):
@ -49,9 +49,3 @@ class file_buffer(Model):
create_ids = file_id
return create_ids
return None