2021-09-10 17:03:43 +02: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.
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
|
|
|
from . import purchase
|
2022-05-06 17:46:53 +02:00
|
|
|
from . import product
|
2023-11-20 19:46:23 +01:00
|
|
|
from . import account
|
2021-09-10 17:03:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2023-11-20 19:46:23 +01:00
|
|
|
account.PrintSupplierCertificateStart,
|
2022-05-06 17:46:53 +02:00
|
|
|
product.Product,
|
2021-09-10 17:03:43 +02:00
|
|
|
purchase.Configuration,
|
2023-11-20 19:46:23 +01:00
|
|
|
purchase.Party,
|
2021-09-10 17:03:43 +02:00
|
|
|
purchase.Purchase,
|
2021-11-22 14:37:05 +01:00
|
|
|
purchase.Line,
|
2021-12-14 15:12:47 +01:00
|
|
|
purchase.PurchaseAnalyticStart,
|
2022-01-13 23:53:38 +01:00
|
|
|
purchase.PurchasesDetailedStart,
|
2022-10-31 16:57:01 +01:00
|
|
|
purchase.PurchaseUpdateStart,
|
2021-09-10 17:03:43 +02:00
|
|
|
module='purchase_co', type_='model')
|
2021-12-14 15:12:47 +01:00
|
|
|
Pool.register(
|
2023-11-20 19:46:23 +01:00
|
|
|
account.PrintSupplierCertificate,
|
2022-01-13 23:53:38 +01:00
|
|
|
purchase.PurchasesDetailed,
|
2021-12-14 15:12:47 +01:00
|
|
|
purchase.PurchaseAnalytic,
|
2022-02-21 15:29:20 +01:00
|
|
|
purchase.PurchaseForceDraft,
|
2022-10-31 16:57:01 +01:00
|
|
|
purchase.PurchaseGenerateInvoice,
|
|
|
|
purchase.PurchaseGenerateShipment,
|
|
|
|
purchase.PurchaseUpdate,
|
2021-12-14 15:12:47 +01:00
|
|
|
module='purchase_co', type_='wizard')
|
|
|
|
Pool.register(
|
2023-11-20 19:46:23 +01:00
|
|
|
account.PrintSupplierCertificateReport,
|
2022-01-13 23:53:38 +01:00
|
|
|
purchase.PurchasesDetailedReport,
|
2021-12-14 15:12:47 +01:00
|
|
|
purchase.PurchaseAnalyticReport,
|
|
|
|
module='purchase_co', type_='report')
|