Add python 3 support
This commit is contained in:
3
sale.py
3
sale.py
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user