Remove purchase report moved to purchase_co

This commit is contained in:
oscar alvarez 2022-10-14 12:33:22 -05:00
parent b411c811fd
commit d4b1373c84
5 changed files with 1 additions and 42 deletions

View File

@ -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')

View File

@ -54,22 +54,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="action" ref="report_sale_psk"/>
</record>
<record model="ir.action.report" id="purchase.report_purchase">
<field name="active" eval="False"/>
</record>
<record model="ir.action.report" id="report_purchase_psk">
<field name="active" eval="True"/>
<field name="name">Purchase</field>
<field name="model">purchase.purchase</field>
<field name="report_name">purchase.purchase</field>
<field name="report">reports/purchase.fodt</field>
</record>
<record model="ir.action.keyword" id="report_purchase_psk_keyword">
<field name="keyword">form_print</field>
<field name="model">purchase.purchase,-1</field>
<field name="action" ref="report_purchase_psk"/>
</record>
<record model="ir.action.report" id="stock.report_shipment_out_delivery_note">
<field name="active" eval="False"/>
</record>

Binary file not shown.

View File

@ -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

View File

@ -1,5 +1,5 @@
[tryton]
version=6.0.0
version=6.0.1
depends:
party
company