summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-09-11 15:32:48 +0530
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-09-11 15:32:48 +0530
commitd0bc4d9ffc8575393571dfd477bc03c272c7d1ad (patch)
tree4d5ab0af4aaa75c3c76cf7306aa49eef541635dd
parente1c3be41e1d0e9c89f016dbf58a34126a4391c22 (diff)
[IMP]show only one o2m field in payment
bzr revid: sgo@tinyerp.com-20120911100248-0jda0d8mo4gsl0r0
-rw-r--r--addons/account_voucher/voucher_payment_receipt_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml
index c41ed6d5577..ddfb91528fd 100644
--- a/addons/account_voucher/voucher_payment_receipt_view.xml
+++ b/addons/account_voucher/voucher_payment_receipt_view.xml
@@ -328,7 +328,7 @@
<notebook>
<page string="Payment Information" groups="base.group_user">
- <field name="line_cr_ids" context="{'journal_id':journal_id, 'type':type, 'partner_id':partner_id}" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, type, context)">
+ <field name="line_cr_ids" attrs="{'invisible': [('type', '=', 'receipt')]}" context="{'journal_id':journal_id, 'type':type, 'partner_id':partner_id}" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, type, context)">
<tree string="Invoices and outstanding transactions" editable="bottom" colors="gray:amount==0">
<field name="move_line_id" context="{'journal_id':parent.journal_id, 'partner_id':parent.partner_id}"
on_change="onchange_move_line_id(move_line_id)"