Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:37 +02:00
parent 7f9b139208
commit 53250d87f7
2 changed files with 2 additions and 2 deletions

View file

@ -7,10 +7,10 @@ from trytond.pool import Pool, PoolMeta
from trytond.transaction import Transaction
__all__ = ['InvoiceLine']
__metaclass__ = PoolMeta
class InvoiceLine:
__metaclass__ = PoolMeta
__name__ = 'account.invoice.line'
def update_prices_visible_discount(self):

View file

@ -6,10 +6,10 @@ from trytond.pool import Pool, PoolMeta
from trytond.model import fields
__all__ = ['SaleLine']
__metaclass__ = PoolMeta
class SaleLine:
__metaclass__ = PoolMeta
__name__ = 'sale.line'
def update_prices_visible_discount(self):