Merge lp:~openerp-dev/openobject-addons/7.0-opw-599546-pna into lp:openobject-addons/7.0

Proposed by Pinakin Nayi (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-599546-pna
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
account_voucher/voucher_payment_receipt_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-599546-pna
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+195554@code.launchpad.net

Description of the change

Hello Sir,

I improved account_voucher. Hide difference amount from "Payment Register" wizard when difference amount 0.0 to avoid confusion.

Thanks,
pna

To post a comment you must log in.

Unmerged revisions

9589. By Pinakin Nayi (OpenERP)

[IMP]account_voucher: hide difference amount from register payment wizard when amount 0.0 to avoid confusion

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_voucher/voucher_payment_receipt_view.xml'
2--- account_voucher/voucher_payment_receipt_view.xml 2013-10-04 10:52:18 +0000
3+++ account_voucher/voucher_payment_receipt_view.xml 2013-11-18 08:34:11 +0000
4@@ -331,7 +331,7 @@
5 </group>
6 <group>
7 <group>
8- <field name="writeoff_amount" widget="monetary" options="{'currency_field': 'currency_id'}"/>
9+ <field name="writeoff_amount" widget="monetary" options="{'currency_field': 'currency_id'}" attrs="{'invisible':[('writeoff_amount','=',0)]}"/>
10 <field name="payment_option" required="1" attrs="{'invisible':[('writeoff_amount','=',0)]}"/>
11 <field name="writeoff_acc_id"
12 attrs="{'invisible':['|', ('payment_option','!=','with_writeoff'), ('writeoff_amount','=',0)], 'required':[('payment_option','=','with_writeoff')]}"