diff --git a/__init__.py b/__init__.py index bb51909..4effdfa 100644 --- a/__init__.py +++ b/__init__.py @@ -1,11 +1,2 @@ # 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 - - -def register(): - Pool.register( - purchase.PurchaseReport, - module='reports', type_='report') diff --git a/psk_reports.xml b/psk_reports.xml index ca988c2..93accea 100644 --- a/psk_reports.xml +++ b/psk_reports.xml @@ -54,22 +54,6 @@ this repository contains the full copyright notices and license terms. --> - - - - - - Purchase - purchase.purchase - purchase.purchase - reports/purchase.fodt - - - form_print - purchase.purchase,-1 - - - diff --git a/purchase.fodt b/purchase.fodt deleted file mode 100644 index 369d7de..0000000 Binary files a/purchase.fodt and /dev/null differ diff --git a/purchase.py b/purchase.py deleted file mode 100644 index 5d0dff8..0000000 --- a/purchase.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 PoolMeta - - -class PurchaseReport(metaclass=PoolMeta): - __name__ = 'purchase.purchase' - - # @classmethod - # def get_context(cls, records, header, data): - # report_context = super().get_context(records, header, data) - # for obj in records: - # taxes = obj._get_taxes() - # setattr(obj, 'taxes', taxes.values()) - # return report_context diff --git a/tryton.cfg b/tryton.cfg index 6b359fc..e539bef 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=6.0.0 +version=6.0.1 depends: party company