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

43 lines
1.1 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 .purchase import *
from .configuration import *
from .invoice import *
from .stock import *
def register():
Pool.register(
Purchase,
PurchaseInvoice,
PurchaseIgnoredInvoice,
PurchaseRecreadtedInvoice,
PurchaseLine,
PurchaseLineTax,
PurchaseLineInvoiceLine,
PurchaseLineIgnoredMove,
PurchaseLineRecreatedMove,
Template,
Product,
ProductSupplier,
ProductSupplierPrice,
ShipmentIn,
Move,
HandleShipmentExceptionAsk,
HandleInvoiceExceptionAsk,
Configuration,
Invoice,
InvoiceLine,
module='purchase', type_='model')
Pool.register(
PurchaseReport,
module='purchase', type_='report')
Pool.register(
OpenSupplier,
HandleShipmentException,
HandleInvoiceException,
OpenProductQuantitiesByWarehouse,
module='purchase', type_='wizard')