Migrate to python 3

This commit is contained in:
Albert Cervera i Areny 2018-08-24 12:24:09 +02:00
parent 98aab92a6d
commit 3a62964411
2 changed files with 2 additions and 6 deletions

View File

@ -11,8 +11,7 @@ from trytond import backend
__all__ = ['Sale']
class Sale:
__metaclass__ = PoolMeta
class Sale(metaclass=PoolMeta):
__name__ = 'sale.sale'
employee = fields.Many2One('company.employee', 'Salesman',

View File

@ -7,10 +7,7 @@ from setuptools import setup
import re
import os
import io
try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
from configparser import ConfigParser
MODULE = 'sale_salesman'
PREFIX = 'trytonzz'