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
361 B
Python
16 lines
361 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 sale
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
sale.Sale,
|
|
sale.Line,
|
|
sale.LineTax,
|
|
module='sale_history', type_='model')
|