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
|
2021-12-11 17:58:43 +01:00
|
|
|
|
2022-10-07 15:00:40 +02:00
|
|
|
from . import (
|
|
|
|
|
configuration, invoice, party, product, purchase, purchase_reporting,
|
|
|
|
|
stock)
|
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,
|
2022-04-11 21:24:28 +02:00
|
|
|
party.PartySupplierCurrency,
|
2020-04-12 09:15:06 +02:00
|
|
|
purchase.ReturnPurchaseStart,
|
2022-10-07 15:00:40 +02:00
|
|
|
purchase_reporting.Context,
|
|
|
|
|
purchase_reporting.Main,
|
|
|
|
|
purchase_reporting.MainTimeseries,
|
|
|
|
|
purchase_reporting.Supplier,
|
|
|
|
|
purchase_reporting.SupplierTimeseries,
|
|
|
|
|
purchase_reporting.Product,
|
|
|
|
|
purchase_reporting.ProductTimeseries,
|
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')
|