Files
tryton/__init__.py
T
2012-09-24 22:18:13 +02:00

41 lines
1013 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 .sale import *
from .configuration import *
from .invoice import *
def register():
Pool.register(
Sale,
SaleInvoice,
SaleIgnoredInvoice,
SaleRecreatedInvoice,
SaleLine,
SaleLineTax,
SaleLineInvoiceLine,
SaleLineIgnoredMove,
SaleLineRecreatedMove,
Template,
Product,
ShipmentOut,
ShipmentOutReturn,
Move,
HandleShipmentExceptionAsk,
HandleInvoiceExceptionAsk,
Configuration,
Invoice,
InvoiceLine,
module='sale', type_='model')
Pool.register(
OpenCustomer,
HandleShipmentException,
HandleInvoiceException,
ReturnSale,
module='sale', type_='wizard')
Pool.register(
SaleReport,
module='sale', type_='report')