Add python 3 support
This commit is contained in:
parent
8954b4df4c
commit
b90af17537
2
api.py
2
api.py
|
@ -14,10 +14,10 @@ except ImportError:
|
|||
raise Exception(message)
|
||||
|
||||
__all__ = ['CarrierApi']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class CarrierApi:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'carrier.api'
|
||||
|
||||
@classmethod
|
||||
|
|
|
@ -7,10 +7,10 @@ from trytond.transaction import Transaction
|
|||
from base64 import decodestring
|
||||
|
||||
__all__ = ['CarrierManifest']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class CarrierManifest:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'carrier.manifest'
|
||||
|
||||
def get_manifest_seurvalencia(self, api, from_date, to_date):
|
||||
|
|
|
@ -9,12 +9,12 @@ import logging
|
|||
import tempfile
|
||||
|
||||
__all__ = ['ShipmentOut']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ShipmentOut:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'stock.shipment.out'
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue