Browse Source

[FIX] fix pylint & oca_dependencies

pull/376/head
Mourad Elhadj Mimoune 9 years ago
parent
commit
59cb07a090
  1. 8
      attachment_metadata/models/attachment.py
  2. 2
      oca_dependencies.txt

8
attachment_metadata/models/attachment.py

@ -26,10 +26,10 @@ class IrAttachmentMetadata(models.Model):
'ir.attachment', required=True, ondelete='cascade', 'ir.attachment', required=True, ondelete='cascade',
help="Link to ir.attachment model ") help="Link to ir.attachment model ")
file_type = fields.Selection( 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') @api.depends('datas', 'external_hash')
def _compute_hash(self): def _compute_hash(self):

2
oca_dependencies.txt

@ -1 +1 @@
server-tools-file https://github.com/akretion/server-tools.git server-tools-file 8-file-loc
server-tools-file https://github.com/akretion/server-tools.git 8-file-loc
Loading…
Cancel
Save