Add python 3 support

This commit is contained in:
jmartin
2016-03-29 11:43:21 +02:00
parent 35a3bd8543
commit 2bc0ff403f
3 changed files with 5 additions and 4 deletions

View File

@@ -13,10 +13,9 @@ from trytond.wizard import Wizard, StateView, StateTransition, Button
__all__ = ['Sale', 'SalePaymentForm', 'WizardSalePayment',
'WizardSaleReconcile']
__metaclass__ = PoolMeta
class Sale:
__metaclass__ = PoolMeta
__name__ = 'sale.sale'
payments = fields.One2Many('account.statement.line', 'sale', 'Payments')
paid_amount = fields.Function(fields.Numeric('Paid Amount', readonly=True),