Files
tryton/__init__.py
T
2018-03-24 00:08:32 +01:00

48 lines
1.2 KiB
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 .sale import *
from .product import *
from .stock import *
from .configuration import *
from .invoice import *
from . import party
def register():
Pool.register(
Move,
Sale,
SaleIgnoredInvoice,
SaleRecreatedInvoice,
SaleLine,
SaleLineTax,
SaleLineIgnoredMove,
SaleLineRecreatedMove,
Template,
Product,
ShipmentOut,
ShipmentOutReturn,
HandleShipmentExceptionAsk,
HandleInvoiceExceptionAsk,
ReturnSaleStart,
Configuration,
ConfigurationSequence,
ConfigurationSaleMethod,
Invoice,
InvoiceLine,
module='sale', type_='model')
Pool.register(
OpenCustomer,
HandleShipmentException,
HandleInvoiceException,
ReturnSale,
ModifyHeader,
party.PartyReplace,
party.PartyErase,
module='sale', type_='wizard')
Pool.register(
SaleReport,
module='sale', type_='report')