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
=== modified file 'account_voucher/voucher_payment_receipt_view.xml'
--- account_voucher/voucher_payment_receipt_view.xml 2013-10-04 10:52:18 +0000
+++ account_voucher/voucher_payment_receipt_view.xml 2013-11-18 08:34:11 +0000
@@ -331,7 +331,7 @@
331 </group>331 </group>
332 <group>332 <group>
333 <group>333 <group>
334 <field name="writeoff_amount" widget="monetary" options="{'currency_field': 'currency_id'}"/>334 <field name="writeoff_amount" widget="monetary" options="{'currency_field': 'currency_id'}" attrs="{'invisible':[('writeoff_amount','=',0)]}"/>
335 <field name="payment_option" required="1" attrs="{'invisible':[('writeoff_amount','=',0)]}"/>335 <field name="payment_option" required="1" attrs="{'invisible':[('writeoff_amount','=',0)]}"/>
336 <field name="writeoff_acc_id"336 <field name="writeoff_acc_id"
337 attrs="{'invisible':['|', ('payment_option','!=','with_writeoff'), ('writeoff_amount','=',0)], 'required':[('payment_option','=','with_writeoff')]}"337 attrs="{'invisible':['|', ('payment_option','!=','with_writeoff'), ('writeoff_amount','=',0)], 'required':[('payment_option','=','with_writeoff')]}"