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 *
|
2013-09-23 11:25:31 +02:00
|
|
|
from .product import *
|
|
|
|
|
from .stock import *
|
2011-12-14 17:04:21 +01:00
|
|
|
from .configuration import *
|
|
|
|
|
from .invoice import *
|
2012-09-24 22:18:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2013-03-23 15:40:22 +01:00
|
|
|
Move,
|
2012-09-24 22:18:13 +02:00
|
|
|
Sale,
|
|
|
|
|
SaleIgnoredInvoice,
|
|
|
|
|
SaleRecreatedInvoice,
|
|
|
|
|
SaleLine,
|
|
|
|
|
SaleLineTax,
|
|
|
|
|
SaleLineIgnoredMove,
|
|
|
|
|
SaleLineRecreatedMove,
|
|
|
|
|
Template,
|
|
|
|
|
Product,
|
|
|
|
|
ShipmentOut,
|
|
|
|
|
ShipmentOutReturn,
|
|
|
|
|
HandleShipmentExceptionAsk,
|
|
|
|
|
HandleInvoiceExceptionAsk,
|
2013-07-22 14:41:56 +02:00
|
|
|
ReturnSaleStart,
|
2012-09-24 22:18:13 +02:00
|
|
|
Configuration,
|
|
|
|
|
Invoice,
|
|
|
|
|
InvoiceLine,
|
|
|
|
|
module='sale', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
OpenCustomer,
|
|
|
|
|
HandleShipmentException,
|
|
|
|
|
HandleInvoiceException,
|
|
|
|
|
ReturnSale,
|
|
|
|
|
module='sale', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
SaleReport,
|
|
|
|
|
module='sale', type_='report')
|