[FIX]: Fix customer payment view

bzr revid: atp@tinyerp.com-20120628160759-hjqc2gep7p6on7a9
This commit is contained in:
Atul Patel (OpenERP)
2012-06-28 21:37:59 +05:30
parent 58bb82062c
commit f99f476acb
@@ -394,17 +394,14 @@
</tree>
</field>
<group>
<group col="2">
<field name="narration" colspan="2" nolabel="1" placeholder="Add an internal note"/>
</group>
<group col="4" attrs="{'invisible':[('currency_id','=',False),('is_multi_currency','=',False)]}">
<group attrs="{'invisible':[('currency_id','=',False),('is_multi_currency','=',False)]}">
<separator string="Currency Options" colspan="4"/>
<field name="is_multi_currency" invisible="1"/>
<field name="payment_rate" required="1" on_change="onchange_rate(payment_rate, amount, currency_id, payment_rate_currency_id, company_id, context)" colspan="3"/>
<field name="payment_rate_currency_id" colspan="1" nolabel="1" on_change="onchange_payment_rate_currency(currency_id, payment_rate, payment_rate_currency_id, date, amount, company_id, context)"/>
<field name="paid_amount_in_company_currency" colspan="4" invisible="1"/>
</group>
<group col="2">
<group>
<separator string="Payment Options" colspan="2"/>
<field name="writeoff_amount"/>
<field name="payment_option" required="1"/>
@@ -417,6 +414,7 @@
groups="analytic.group_analytic_accounting"/>
</group>
</group>
<field name="narration" nolabel="1" placeholder="Add an internal note"/>
</page>
<page string="Journal Items" attrs="{'invisible': [('state','!=','posted')]}">
<group col="4">