mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-25 18:08:42 -06:00
[FIX] fix module name
This commit is contained in:
parent
8de978bb71
commit
140fa02533
@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
# file_buffer_from_mail for OpenERP
|
# file_email for OpenERP
|
||||||
# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>.
|
# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>.
|
||||||
# @author Sébastien BEAU <sebastien.beau@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',
|
'version': '0.1',
|
||||||
'category': 'Generic Modules/Others',
|
'category': 'Generic Modules/Others',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -20,10 +20,10 @@
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
from openerp.osv import fields
|
from openerp.osv import fields, orm
|
||||||
from openerp.osv.orm import Model
|
|
||||||
|
|
||||||
class file_buffer(Model):
|
|
||||||
|
class file_buffer(orm.Model):
|
||||||
_inherit = "file.buffer"
|
_inherit = "file.buffer"
|
||||||
|
|
||||||
def _prepare_data_for_file_buffer(self, cr, uid, msg, context=None):
|
def _prepare_data_for_file_buffer(self, cr, uid, msg, context=None):
|
||||||
@ -49,9 +49,3 @@ class file_buffer(Model):
|
|||||||
create_ids = file_id
|
create_ids = file_id
|
||||||
return create_ids
|
return create_ids
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user