Each time the order is reset to draft, we increase the revision number. The order, lines and tax lines are also historized to browse past version. issue8366 review279381002
16 lines
385 B
Python
16 lines
385 B
Python
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
# this repository contains the full copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
|
from . import purchase
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
purchase.Purchase,
|
|
purchase.Line,
|
|
purchase.LineTax,
|
|
module='purchase_history', type_='model')
|