Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:41 +02:00
parent a2ee2e2620
commit 05d2a921f7
2 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ from trytond.pool import Pool, PoolMeta
from trytond.transaction import Transaction
__all__ = ['Sale']
__metaclass__ = PoolMeta
class Sale:
__metaclass__ = PoolMeta
__name__ = 'sale.sale'
@classmethod

View File

@ -6,10 +6,10 @@ from trytond.model import fields
from trytond.pyson import Eval
__all__ = ['SaleShop']
__metaclass__ = PoolMeta
class SaleShop:
__metaclass__ = PoolMeta
__name__ = 'sale.shop'
enough_stock = fields.Boolean('Enough Stock',
help='Check enough stock when convert a sale to quotation')