2014-12-02 12:55:47 +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-05-06 17:45:44 +02:00
|
|
|
|
2012-09-24 22:18:09 +02:00
|
|
|
from trytond.pool import Pool
|
2011-12-14 17:04:12 +01:00
|
|
|
from .purchase import *
|
2013-09-23 11:53:12 +02:00
|
|
|
from .product import *
|
|
|
|
|
from .stock import *
|
2011-12-14 17:04:12 +01:00
|
|
|
from .configuration import *
|
|
|
|
|
from .invoice import *
|
2012-09-24 22:18:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2013-03-23 15:39:11 +01:00
|
|
|
Move,
|
2012-09-24 22:18:09 +02:00
|
|
|
Purchase,
|
|
|
|
|
PurchaseIgnoredInvoice,
|
|
|
|
|
PurchaseRecreadtedInvoice,
|
|
|
|
|
PurchaseLine,
|
|
|
|
|
PurchaseLineTax,
|
|
|
|
|
PurchaseLineIgnoredMove,
|
|
|
|
|
PurchaseLineRecreatedMove,
|
|
|
|
|
Template,
|
|
|
|
|
Product,
|
|
|
|
|
ProductSupplier,
|
|
|
|
|
ProductSupplierPrice,
|
|
|
|
|
ShipmentIn,
|
2012-09-30 21:19:45 +02:00
|
|
|
ShipmentInReturn,
|
2012-09-24 22:18:09 +02:00
|
|
|
HandleShipmentExceptionAsk,
|
|
|
|
|
HandleInvoiceExceptionAsk,
|
|
|
|
|
Configuration,
|
|
|
|
|
Invoice,
|
|
|
|
|
InvoiceLine,
|
2016-03-21 13:50:56 +01:00
|
|
|
Location,
|
2012-09-24 22:18:09 +02:00
|
|
|
module='purchase', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
PurchaseReport,
|
|
|
|
|
module='purchase', type_='report')
|
|
|
|
|
Pool.register(
|
|
|
|
|
OpenSupplier,
|
|
|
|
|
HandleShipmentException,
|
|
|
|
|
HandleInvoiceException,
|
|
|
|
|
OpenProductQuantitiesByWarehouse,
|
|
|
|
|
module='purchase', type_='wizard')
|