Files
tryton/__init__.py
T

45 lines
1.1 KiB
Python
Raw Normal View History

2014-12-02 12:55:52 +01:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2008-09-03 21:28:12 +02:00
2012-09-24 22:18:13 +02:00
from trytond.pool import Pool
2011-12-14 17:04:21 +01:00
from .sale import *
from .product import *
from .stock import *
2011-12-14 17:04:21 +01:00
from .configuration import *
from .invoice import *
2016-10-02 15:21:14 +02:00
from .party import PartyReplace
2012-09-24 22:18:13 +02:00
def register():
Pool.register(
Move,
2012-09-24 22:18:13 +02:00
Sale,
SaleIgnoredInvoice,
SaleRecreatedInvoice,
SaleLine,
SaleLineTax,
SaleLineIgnoredMove,
SaleLineRecreatedMove,
Template,
Product,
ShipmentOut,
ShipmentOutReturn,
HandleShipmentExceptionAsk,
HandleInvoiceExceptionAsk,
ReturnSaleStart,
2012-09-24 22:18:13 +02:00
Configuration,
2017-04-01 00:36:49 +02:00
ConfigurationSequence,
ConfigurationSaleMethod,
2012-09-24 22:18:13 +02:00
Invoice,
InvoiceLine,
module='sale', type_='model')
Pool.register(
OpenCustomer,
HandleShipmentException,
HandleInvoiceException,
ReturnSale,
2016-10-02 15:21:14 +02:00
PartyReplace,
2012-09-24 22:18:13 +02:00
module='sale', type_='wizard')
Pool.register(
SaleReport,
module='sale', type_='report')