Add history on payment term line delta
And use correct file names per class. issue7866 review58421002
This commit is contained in:
1 parent
da89842efe
commit
5ddacf00b4
4 files changed
+16
-10
No files matched your search
@@ -1,3 +1,5 @@
|
||||
* Add history on payment term line delta
|
||||
|
||||
Version 5.0.0 - 2018-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 2.7
|
||||
|
||||
+9
-8
@@ -2,16 +2,17 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from .party import *
|
||||
from .payment_term import *
|
||||
from .invoice import *
|
||||
from . import party
|
||||
from . import account
|
||||
from . import account_invoice
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
Party,
|
||||
Address,
|
||||
PaymentTerm,
|
||||
PaymentTermLine,
|
||||
Invoice,
|
||||
party.Party,
|
||||
party.Address,
|
||||
account.Invoice,
|
||||
account_invoice.PaymentTerm,
|
||||
account_invoice.PaymentTermLine,
|
||||
account_invoice.PaymentTermLineRelativeDelta,
|
||||
module='account_invoice_history', type_='model')
|
||||
File renamed without changes.
@@ -2,8 +2,6 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
__all__ = ['PaymentTerm', 'PaymentTermLine']
|
||||
|
||||
|
||||
class PaymentTerm(metaclass=PoolMeta):
|
||||
__name__ = 'account.invoice.payment_term'
|
||||
@@ -13,3 +11,8 @@ class PaymentTerm(metaclass=PoolMeta):
|
||||
class PaymentTermLine(metaclass=PoolMeta):
|
||||
__name__ = 'account.invoice.payment_term.line'
|
||||
_history = True
|
||||
|
||||
|
||||
class PaymentTermLineRelativeDelta(metaclass=PoolMeta):
|
||||
__name__ = 'account.invoice.payment_term.line.delta'
|
||||
_history = True
|
||||
Reference in new issue
Block a user