Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:21 +02:00
parent c6b50eb410
commit 9f7772261d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,6 @@ import string
__all__ = ['BaseExternalMapping',
'CSVProfile', 'CSVProfileBaseExternalMapping', 'CSVArchive']
__metaclass__ = PoolMeta
_slugify_strip_re = re.compile(r'[^\w\s-]')
_slugify_hyphenate_re = re.compile(r'[-\s]+')
@ -31,6 +30,7 @@ def slugify(value):
class BaseExternalMapping:
__metaclass__ = PoolMeta
__name__ = 'base.external.mapping'
csv_mapping = fields.Many2One('base.external.mapping', 'CSV Mapping')
csv_rel_field = fields.Many2One('ir.model.field', 'CSV Field related')