Browse Source

[FIX] fix pylint & oca_dependencies

pull/515/head
Mourad Elhadj Mimoune 8 years ago
committed by Florian da Costa
parent
commit
62301d6472
  1. 8
      attachment_metadata/models/attachment.py

8
attachment_metadata/models/attachment.py

@ -26,10 +26,10 @@ class IrAttachmentMetadata(models.Model):
'ir.attachment', required=True, ondelete='cascade',
help="Link to ir.attachment model ")
file_type = fields.Selection(
selection="_get_file_type",
string="File type",
help="The file type determines an import method to be used "
"to parse and transform data before their import in ERP")
selection="_get_file_type",
string="File type",
help="The file type determines an import method to be used "
"to parse and transform data before their import in ERP")
@api.depends('datas', 'external_hash')
def _compute_hash(self):

Loading…
Cancel
Save