Browse Source

[REF] 'document_extract_from_database': rename model

pull/85/head
Sylvain LE GAL 10 years ago
parent
commit
65b1bc6aa3
  1. 2
      document_extract_from_database/model/__init__.py
  2. 2
      document_extract_from_database/model/ir_attachment.py

2
document_extract_from_database/model/__init__.py

@ -19,5 +19,5 @@
# #
################################################################################# #################################################################################
from . import attachment
from . import ir_attachment
from . import document_multiple_action from . import document_multiple_action

2
document_extract_from_database/model/attachment.py → document_extract_from_database/model/ir_attachment.py

@ -23,7 +23,7 @@ from openerp.osv import orm
import base64 import base64
class document_file(orm.Model):
class ir_attachment(orm.Model):
_inherit = 'ir.attachment' _inherit = 'ir.attachment'
def _write_again(self, cr, uid, id, context=None): def _write_again(self, cr, uid, id, context=None):
Loading…
Cancel
Save