*views improvements

bzr revid: qdp@tinyerp.com-20080829152210-1x3qy5blq0mcrldu
This commit is contained in:
qdp 2008-08-29 17:22:10 +02:00
parent 7670578649
commit c3fa523cfd
1 changed files with 6 additions and 7 deletions

View File

@ -88,7 +88,7 @@
<form string="Payment Line">
<notebook>
<page string="Payment">
<field name="move_line_id" on_change="onchange_move_line(move_line_id,parent.mode)" select="1"/>
<field name="move_line_id" on_change="onchange_move_line(move_line_id,parent.mode,parent.date_prefered,parent.date_planned)" select="1"/>
<!--domain="[('reconcile_id','=', False), ('credit', '>',0),('amount_to_pay','>',0)] "/>-->
<separator colspan="4" string="Transaction Information"/>
<field name="date"/>
@ -96,7 +96,7 @@
<field name="amount_currency" select="2"/>
<field name="currency" nolabel="1"/>
</group>
<field name="partner_id" on_change="onchange_partner(partner_id)" select="1"/>
<field name="partner_id" on_change="onchange_partner(partner_id,parent.mode)" select="1"/>
<field domain="[('partner_id','=',partner_id)]" name="bank_id" required="1"/>
<separator colspan="2" string="Owner Account"/>
<separator colspan="2" string="Desitination Account"/>
@ -112,8 +112,7 @@
<separator colspan="4" string="General Information"/>
<group colspan="2">
<field name="amount" select="1"/>
<!--<field name="currency"/>-->
<field name="amount"/>
<field name="company_currency" nolabel="1"/>
</group>
<!--<field name="partner_payable"/>-->
@ -131,10 +130,10 @@
<field name="partner_id" select="1"/>
<field name="bank_id" domain="[('partner_id', '=', partner_id)]" required="1"/>
<field name="ml_maturity_date"/>
<field name="ml_date_created"/>
<field name="date"/>
<!--<field name="value_date"/>-->
<field name="amount" sum="Amount Total"/>
<field name="amount_currency" sum="Currency Amount Total" select="2"/>
<!--<field name="amount" sum="Amount Total"/>-->
<field name="amount_currency" sum="Currency Amount Total" select="2" string="Amount"/>
<field name="currency"/>
<!--<field name="to_pay_currency"/>
<field name="to_pay"/>-->