[REM]: remove unused report

[FIX]: fix the type in menu domain

bzr revid: mga@tinyerp.com-20100826100316-ox9bbz4g3vx6bzfq
This commit is contained in:
Mantavya Gajjar
2010-08-26 15:33:16 +05:30
parent ad26470a0b
commit 31960711d6
2 changed files with 3 additions and 12 deletions
@@ -62,7 +62,7 @@
<field name="name">Vendor Payment</field>
<field name="res_model">account.voucher.open</field>
<field name="view_type">form</field>
<field name="domain">[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','payment')]</field>
<field name="domain">[('journal_id.type', 'in', ['bank', 'cash'])]</field>
<field name="context">{'journal_type':'bank', 'type':'payment'}</field>
<field name="view_id" ref="account_open_vouchers_view"/>
<field name="target">new</field>
@@ -154,7 +154,7 @@
<field name="name">Sales Payment</field>
<field name="res_model">account.voucher.open</field>
<field name="view_type">form</field>
<field name="domain">[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')]</field>
<field name="domain">[('journal_id.type', 'in', ['bank', 'cash'])]</field>
<field name="context">{'journal_type':'bank', 'type':'receipt'}</field>
<field name="view_id" ref="account_open_vouchers_view"/>
<field name="target">new</field>
+1 -10
View File
@@ -2,21 +2,12 @@
<openerp>
<data>
<report id="report_account_voucher"
string="Print Vouchers"
string="Voucher"
model="account.voucher"
name="voucher.cash_receipt.drcr"
rml="account_voucher/report/report_voucher.rml"
auto="False"
header = "False"
menu="True"/>
<!-- <report id="report_account_voucher_amt"-->
<!-- string="Print Receipts"-->
<!-- model="account.voucher"-->
<!-- name="voucher.cash_amount"-->
<!-- rml="account_voucher/report/report_voucher_amount.rml"-->
<!-- auto="False"-->
<!-- header = "False"-->
<!-- menu="True"/>-->
</data>
</openerp>