trytonpsk-purchase_co/__init__.py

36 lines
1.1 KiB
Python
Raw Normal View History

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
from . import account
2021-09-10 17:03:43 +02:00
def register():
Pool.register(
account.PrintSupplierCertificateStart,
2022-05-06 17:46:53 +02:00
product.Product,
2021-09-10 17:03:43 +02:00
purchase.Configuration,
purchase.Party,
2021-09-10 17:03:43 +02:00
purchase.Purchase,
purchase.Line,
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')
Pool.register(
account.PrintSupplierCertificate,
2022-01-13 23:53:38 +01:00
purchase.PurchasesDetailed,
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,
module='purchase_co', type_='wizard')
Pool.register(
account.PrintSupplierCertificateReport,
2022-01-13 23:53:38 +01:00
purchase.PurchasesDetailedReport,
purchase.PurchaseAnalyticReport,
module='purchase_co', type_='report')