[FIX] Account_payment : Corrected context on creation of new payment line for an unsaved payment order

bzr revid: jvo@tinyerp.com-20110201103853-shnh8a3h8nf1gqkz
This commit is contained in:
Jay Vora (OpenERP) 2011-02-01 16:08:53 +05:30
parent d562af0f5c
commit 175606ceeb
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
<field name="date_scheduled" select="1" attrs="{'readonly':[('date_prefered','!=','fixed')]}" />
<button colspan="2" name="%(action_create_payment_order)d" string="Select Invoices to Pay" type="action" attrs="{'invisible':[('state','=','done')]}" icon="gtk-find"/>
</group>
<field name="line_ids" colspan="4" widget="one2many_list" nolabel="1" default_get="{'order_id': active_id}" >
<field name="line_ids" colspan="4" widget="one2many_list" nolabel="1" default_get="{'order_id': active_id or False}" >
<form string="Payment Line">
<notebook>
<page string="Payment">