Files
tryton/__init__.py
T
Cédric Krier ca01433eb2 Add history to sale and purchase
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
2019-06-26 16:39:40 +02:00

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')