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
|
2020-03-01 12:33:53 +01:00
|
|
|
from . import purchase
|
|
|
|
|
from . import product
|
|
|
|
|
from . import stock
|
|
|
|
|
from . import configuration
|
|
|
|
|
from . import invoice
|
2018-03-24 00:07:53 +01:00
|
|
|
from . import party
|
2012-09-24 22:18:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
stock.Move,
|
|
|
|
|
purchase.Purchase,
|
|
|
|
|
purchase.PurchaseIgnoredInvoice,
|
|
|
|
|
purchase.PurchaseRecreatedInvoice,
|
|
|
|
|
purchase.Line,
|
|
|
|
|
purchase.LineTax,
|
|
|
|
|
purchase.LineIgnoredMove,
|
|
|
|
|
purchase.LineRecreatedMove,
|
|
|
|
|
product.Template,
|
|
|
|
|
product.Product,
|
|
|
|
|
product.ProductSupplier,
|
|
|
|
|
product.ProductSupplierPrice,
|
|
|
|
|
stock.ShipmentIn,
|
|
|
|
|
stock.ShipmentInReturn,
|
|
|
|
|
purchase.HandleShipmentExceptionAsk,
|
|
|
|
|
purchase.HandleInvoiceExceptionAsk,
|
|
|
|
|
configuration.Configuration,
|
|
|
|
|
configuration.ConfigurationSequence,
|
|
|
|
|
configuration.ConfigurationPurchaseMethod,
|
|
|
|
|
invoice.Invoice,
|
|
|
|
|
invoice.InvoiceLine,
|
|
|
|
|
stock.Location,
|
2019-08-21 22:51:36 +02:00
|
|
|
party.Party,
|
|
|
|
|
party.CustomerCode,
|
2021-01-19 14:59:54 +01:00
|
|
|
party.SupplierLeadTime,
|
2020-04-12 09:15:06 +02:00
|
|
|
purchase.ReturnPurchaseStart,
|
2012-09-24 22:18:09 +02:00
|
|
|
module='purchase', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
purchase.PurchaseReport,
|
2012-09-24 22:18:09 +02:00
|
|
|
module='purchase', type_='report')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
purchase.OpenSupplier,
|
|
|
|
|
purchase.HandleShipmentException,
|
|
|
|
|
purchase.HandleInvoiceException,
|
2018-03-24 00:07:53 +01:00
|
|
|
party.PartyReplace,
|
|
|
|
|
party.PartyErase,
|
2020-03-01 12:33:53 +01:00
|
|
|
purchase.ModifyHeader,
|
2020-04-12 09:15:06 +02:00
|
|
|
purchase.ReturnPurchase,
|
2012-09-24 22:18:09 +02:00
|
|
|
module='purchase', type_='wizard')
|