Add payment terms.

This commit is contained in:
Sergio Morillo 2018-06-20 18:04:22 +02:00
parent c376946af4
commit 7b7aedff10
2 changed files with 8 additions and 1 deletions

View File

@ -15,6 +15,7 @@ def register():
sale.Company,
sale.Currency,
sale.Address,
sale.PaymentTerm,
stock.Location,
product.Product,
product.Template,

View File

@ -5,7 +5,8 @@ from trytond.model import fields
from trytond.pool import PoolMeta, Pool
from trytond.transaction import Transaction
__all__ = ['Party', 'Company', 'Currency', 'Sale', 'SaleLine', 'Address']
__all__ = ['Party', 'Company', 'Currency', 'Sale', 'SaleLine', 'Address',
'PaymentTerm']
class Sale(ReplUUIdMasterDuplexMixin):
@ -105,3 +106,8 @@ class Company(ReplLocalIdSrcMixin):
class Address(ReplLocalIdSrcMixin):
__name__ = 'party.address'
__metaclass__ = PoolMeta
class PaymentTerm(ReplLocalIdSrcMixin):
__name__ = 'account.invoice.payment_term'
__metaclass__ = PoolMeta